mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +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
|
||||
];
|
||||
|
||||
patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace ./SConstruct \
|
||||
--replace \
|
||||
"env['CXX'] = 'g++'" \
|
||||
|
|
Loading…
Reference in a new issue