From 75f477b9c083cddeac0796aaf3e42d14ddf3d024 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Tue, 20 Nov 2018 06:03:02 +0000 Subject: [PATCH] creduce: replace patchPhase with postPatch --- pkgs/development/tools/misc/creduce/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/creduce/default.nix b/pkgs/development/tools/misc/creduce/default.nix index 5c6b8cfd9605..66f1fff41902 100644 --- a/pkgs/development/tools/misc/creduce/default.nix +++ b/pkgs/development/tools/misc/creduce/default.nix @@ -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 '';