summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2018-08-27 15:49:41 +0000
committerAaron Andersen <aaron@fosslib.net>2018-08-27 15:49:41 +0000
commit64fd3f10aaaca018334ca019d1c9aa4b7c87fe2b (patch)
tree9be17ca206b82c480d819178500cc4ac288ed6db /pkgs/tools/system
parent4d89adcd7292b69765eb7692c7e145b28256b30f (diff)
downloadnixlib-64fd3f10aaaca018334ca019d1c9aa4b7c87fe2b.tar
nixlib-64fd3f10aaaca018334ca019d1c9aa4b7c87fe2b.tar.gz
nixlib-64fd3f10aaaca018334ca019d1c9aa4b7c87fe2b.tar.bz2
nixlib-64fd3f10aaaca018334ca019d1c9aa4b7c87fe2b.tar.lz
nixlib-64fd3f10aaaca018334ca019d1c9aa4b7c87fe2b.tar.xz
nixlib-64fd3f10aaaca018334ca019d1c9aa4b7c87fe2b.tar.zst
nixlib-64fd3f10aaaca018334ca019d1c9aa4b7c87fe2b.zip
fixed mistake about location of HOME
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/incron/default_path.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/system/incron/default_path.patch b/pkgs/tools/system/incron/default_path.patch
index 72ef477a92e2..ae173ea29e62 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";