forked from mirrors/nixpkgs
postgresql: Prevent runtime dependency on gcc-wrapper
This commit is contained in:
parent
a20470ee33
commit
2bc305c1c6
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue