mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
pam-reattach: minor cmakeFlags cleanup
This commit is contained in:
parent
07cba9376f
commit
d44ffe57b2
@ -15,12 +15,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_OSX_ARCHITECTURES=${
|
||||
if stdenv.hostPlatform.system == "x86_64-darwin" then
|
||||
"x86_64"
|
||||
else
|
||||
"arm64"
|
||||
}"
|
||||
"-DCMAKE_OSX_ARCHITECTURES=${stdenv.hostPlatform.darwinArch}"
|
||||
"-DENABLE_CLI=ON"
|
||||
] ++ lib.optional sdkOlderThan11 "-DCMAKE_LIBRARY_PATH=${darwin.apple_sdk.sdk}/usr/lib";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user