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