mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
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 New Issue
Block a user