postgresql: fix build with clang on linux

This commit is contained in:
ajs124 2021-07-23 22:10:53 +02:00
parent 981a574991
commit 88fc4c24b1

View file

@ -33,7 +33,7 @@ let
inherit sha256;
};
hardeningEnable = lib.optionals (!stdenv.isDarwin) [ "pie" ];
hardeningEnable = lib.optionals (!stdenv.cc.isClang) [ "pie" ];
outputs = [ "out" "lib" "doc" "man" ];
setOutputFlags = false; # $out retains configureFlags :-/