about summary refs log tree commit diff
path: root/pkgs/tools/system/incron
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/incron')
-rw-r--r--pkgs/tools/system/incron/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/system/incron/default.nix b/pkgs/tools/system/incron/default.nix
index a06bb324aaaab..2f78a37203f74 100644
--- a/pkgs/tools/system/incron/default.nix
+++ b/pkgs/tools/system/incron/default.nix
@@ -10,6 +10,7 @@ stdenv.mkDerivation rec {
   patchPhase = ''
     sed -i "s|PREFIX = /usr/local|PREFIX = $out|g" Makefile
     sed -i "s|/bin/bash|${bash}/bin/bash|g" usertable.cpp
+    sed -i "s|/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin|/run/current-system/sw/bin|g" usertable.cpp
   '';
 
   installPhase = ''