mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
gringo: use postPatch
patchPhase overrides the patches thing.
This commit is contained in:
parent
a1fce4db96
commit
bda7c2fd4b
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||||
./gringo-4.5.4-to_string.patch
|
./gringo-4.5.4-to_string.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
substituteInPlace ./SConstruct \
|
substituteInPlace ./SConstruct \
|
||||||
--replace \
|
--replace \
|
||||||
"env['CXX'] = 'g++'" \
|
"env['CXX'] = 'g++'" \
|
||||||
|
|
Loading…
Reference in a new issue