From 944f0b01a4029472565c91642ed5819fab4f4cc0 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 26 Aug 2018 01:02:33 +0000 Subject: replace hardcoded guess path with what i hope is the proper nixos path --- pkgs/tools/system/incron/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/tools/system/incron') 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 = '' -- cgit 1.4.1