kanata: use default SDK on Darwin (14.4)
This commit is contained in:
@@ -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}'
|
||||
'')
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user