From 64fd3f10aaaca018334ca019d1c9aa4b7c87fe2b Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Mon, 27 Aug 2018 15:49:41 +0000 Subject: [PATCH] fixed mistake about location of HOME --- pkgs/tools/system/incron/default_path.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/incron/default_path.patch b/pkgs/tools/system/incron/default_path.patch index 72ef477a92e..ae173ea29e6 100644 --- a/pkgs/tools/system/incron/default_path.patch +++ b/pkgs/tools/system/incron/default_path.patch @@ -18,8 +18,8 @@ index 11fd04b..a8681bd 100644 + // try to recreate the user path as best as possible + std::string DEFAULT_PATH; -+ DEFAULT_PATH += "/run/wrappers/bin:/home/"; -+ DEFAULT_PATH += pwd->pw_name; ++ DEFAULT_PATH += "/run/wrappers/bin:"; ++ DEFAULT_PATH += pwd->pw_dir; + DEFAULT_PATH += "/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/"; + DEFAULT_PATH += pwd->pw_name; + DEFAULT_PATH += "/bin";