diff options
author | Aaron Andersen <aaron@fosslib.net> | 2018-08-26 01:02:33 +0000 |
---|---|---|
committer | Aaron Andersen <aaron@fosslib.net> | 2018-08-26 01:02:33 +0000 |
commit | 944f0b01a4029472565c91642ed5819fab4f4cc0 (patch) | |
tree | 121c1c08fac12acf8422f54c65a27de64e06ffad /pkgs/tools/system/incron | |
parent | 63c3b7ce10ab8672ecb28226f31c09e9809e80c0 (diff) | |
download | nixlib-944f0b01a4029472565c91642ed5819fab4f4cc0.tar nixlib-944f0b01a4029472565c91642ed5819fab4f4cc0.tar.gz nixlib-944f0b01a4029472565c91642ed5819fab4f4cc0.tar.bz2 nixlib-944f0b01a4029472565c91642ed5819fab4f4cc0.tar.lz nixlib-944f0b01a4029472565c91642ed5819fab4f4cc0.tar.xz nixlib-944f0b01a4029472565c91642ed5819fab4f4cc0.tar.zst nixlib-944f0b01a4029472565c91642ed5819fab4f4cc0.zip |
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.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/system/incron/default.nix b/pkgs/tools/system/incron/default.nix index a06bb324aaaa..2f78a37203f7 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 = '' |