creduce: replace patchPhase with postPatch

This commit is contained in:
Orivej Desh 2018-11-20 06:03:02 +00:00
parent db26a5ac28
commit 75f477b9c0

View file

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
# On Linux, c-reduce's preferred way to reason about
# the cpu architecture/topology is to use 'lscpu',
# so let's make sure it knows where to find it:
patchPhase = stdenv.lib.optionalString stdenv.isLinux ''
postPatch = stdenv.lib.optionalString stdenv.isLinux ''
substituteInPlace creduce/creduce_utils.pm --replace \
lscpu ${utillinux}/bin/lscpu
'';