summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-07-25 22:51:03 -0500
committerGitHub <noreply@github.com>2021-07-25 22:51:03 -0500
commitf7c6a94e225a36a364d912ab75f5685cb9c97622 (patch)
tree2bbb21ccf00bd4e53cb8f8d262f50a82349784ee /pkgs/servers
parentcec4b2a2740e848724bbc407313b45eaa11aa412 (diff)
parent88fc4c24b17b833777a1016d86137c3913981eb1 (diff)
downloadnixpkgs-f7c6a94e225a36a364d912ab75f5685cb9c97622.tar
nixpkgs-f7c6a94e225a36a364d912ab75f5685cb9c97622.tar.gz
nixpkgs-f7c6a94e225a36a364d912ab75f5685cb9c97622.tar.bz2
nixpkgs-f7c6a94e225a36a364d912ab75f5685cb9c97622.tar.lz
nixpkgs-f7c6a94e225a36a364d912ab75f5685cb9c97622.tar.xz
nixpkgs-f7c6a94e225a36a364d912ab75f5685cb9c97622.tar.zst
nixpkgs-f7c6a94e225a36a364d912ab75f5685cb9c97622.zip
Merge pull request #131270 from helsinki-systems/fix/postgresql-llvm
postgresql: fix build with clang on linux
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/sql/postgresql/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/sql/postgresql/default.nix b/pkgs/servers/sql/postgresql/default.nix
index 5d0a9cfa857..1f9a1ffc018 100644
--- a/pkgs/servers/sql/postgresql/default.nix
+++ b/pkgs/servers/sql/postgresql/default.nix
@@ -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 :-/