Merge pull request #151856 from happysalada/nix_darwin_disable_pie

nix: remove pie compilation flag on darwin
This commit is contained in:
Bernardo Meurer 2021-12-23 20:42:35 +00:00 committed by GitHub
commit 984e88cca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,7 +44,7 @@ common =
[ "out" "dev" ]
++ lib.optionals enableDocumentation [ "man" "doc" ];
hardeningEnable = [ "pie" ];
hardeningEnable = lib.optionals (!stdenv.isDarwin) [ "pie" ];
nativeBuildInputs =
[ pkg-config ]