1
0
Fork 1
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:
Matthew Justin Bauer 2018-06-25 11:45:18 -04:00 committed by GitHub
parent a1fce4db96
commit bda7c2fd4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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++'" \