nginx: disable pie on darwin

This commit is contained in:
Daiderd Jordan 2017-09-12 22:38:17 +02:00
parent 3c14ef0c4a
commit 734788b71d
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -62,7 +62,7 @@ stdenv.mkDerivation {
preConfigure = (concatMapStringsSep "\n" (mod: mod.preConfigure or "") modules);
hardeningEnable = [ "pie" ];
hardeningEnable = optional (!stdenv.isDarwin) "pie";
postInstall = ''
mv $out/sbin $out/bin