summary refs log tree commit diff
path: root/pkgs/development/tools/misc/creduce/default.nix
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2018-11-20 06:03:02 +0000
committerOrivej Desh <orivej@gmx.fr>2018-11-20 06:03:02 +0000
commit75f477b9c083cddeac0796aaf3e42d14ddf3d024 (patch)
treed92839ab33b718db1b780fdc5958ab2a680ea612 /pkgs/development/tools/misc/creduce/default.nix
parentdb26a5ac282b97ff453f3627c0e2e75a01d2f1f3 (diff)
downloadnixpkgs-75f477b9c083cddeac0796aaf3e42d14ddf3d024.tar
nixpkgs-75f477b9c083cddeac0796aaf3e42d14ddf3d024.tar.gz
nixpkgs-75f477b9c083cddeac0796aaf3e42d14ddf3d024.tar.bz2
nixpkgs-75f477b9c083cddeac0796aaf3e42d14ddf3d024.tar.lz
nixpkgs-75f477b9c083cddeac0796aaf3e42d14ddf3d024.tar.xz
nixpkgs-75f477b9c083cddeac0796aaf3e42d14ddf3d024.tar.zst
nixpkgs-75f477b9c083cddeac0796aaf3e42d14ddf3d024.zip
creduce: replace patchPhase with postPatch
Diffstat (limited to 'pkgs/development/tools/misc/creduce/default.nix')
-rw-r--r--pkgs/development/tools/misc/creduce/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/creduce/default.nix b/pkgs/development/tools/misc/creduce/default.nix
index 5c6b8cfd960..66f1fff4190 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
   '';