diff --git a/pkgs/by-name/ka/kanata/package.nix b/pkgs/by-name/ka/kanata/package.nix index 509fc4cd0a21..73f0b9eeeb64 100644 --- a/pkgs/by-name/ka/kanata/package.nix +++ b/pkgs/by-name/ka/kanata/package.nix @@ -1,8 +1,6 @@ { stdenv, lib, - apple-sdk_13, - darwinMinVersionHook, rustPlatform, fetchFromGitHub, versionCheckHook, @@ -23,14 +21,9 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-LfjuQHR3vVUr2e0efVymnfCnyYkFRx7ZiNdSIjBZc5s="; - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ - apple-sdk_13 - (darwinMinVersionHook "13.0") - ]; - nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ (writeShellScriptBin "sw_vers" '' - echo 'ProductVersion: 13.0' + echo 'ProductVersion: ${stdenv.hostPlatform.darwinMinVersion}' '') ];