about summary refs log tree commit diff
path: root/pkgs/tools/system/incron
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2018-08-26 01:02:33 +0000
committerAaron Andersen <aaron@fosslib.net>2018-08-26 01:02:33 +0000
commit944f0b01a4029472565c91642ed5819fab4f4cc0 (patch)
tree121c1c08fac12acf8422f54c65a27de64e06ffad /pkgs/tools/system/incron
parent63c3b7ce10ab8672ecb28226f31c09e9809e80c0 (diff)
replace hardcoded guess path with what i hope is the proper nixos path
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 = ''