Skip to content

Commit

Permalink
pam-reattach: minor cmakeFlags cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
paparodeo committed Jul 3, 2024
1 parent 07cba93 commit d44ffe5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkgs/os-specific/darwin/pam-reattach/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit d44ffe5

Please sign in to comment.