3
0
Fork 0
forked from mirrors/nixpkgs

postgresql: Prevent runtime dependency on gcc-wrapper

This commit is contained in:
Eelco Dolstra 2015-07-28 20:29:36 +02:00
parent a20470ee33
commit 2bc305c1c6

View file

@ -31,6 +31,14 @@ stdenv.mkDerivation rec {
LC_ALL = "C";
postInstall =
''
# Prevent a retained dependency on gcc-wrapper.
substituteInPlace $out/lib/pgxs/src/Makefile.global --replace ${stdenv.cc}/bin/ld ld
'';
disallowedReferences = [ stdenv.cc ];
passthru = {
inherit readline;
psqlSchema = "9.4";