nginx: disable pie on darwin

This commit is contained in:
Daiderd Jordan
2017-09-12 22:42:04 +02:00
parent 3c14ef0c4a
commit 734788b71d
+1 -1
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