fixed mistake about location of HOME
This commit is contained in:
parent
4d89adcd72
commit
64fd3f10aa
@ -18,8 +18,8 @@ index 11fd04b..a8681bd 100644
|
|||||||
|
|
||||||
+ // try to recreate the user path as best as possible
|
+ // try to recreate the user path as best as possible
|
||||||
+ std::string DEFAULT_PATH;
|
+ std::string DEFAULT_PATH;
|
||||||
+ DEFAULT_PATH += "/run/wrappers/bin:/home/";
|
+ DEFAULT_PATH += "/run/wrappers/bin:";
|
||||||
+ DEFAULT_PATH += pwd->pw_name;
|
+ 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 += "/.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 += pwd->pw_name;
|
||||||
+ DEFAULT_PATH += "/bin";
|
+ DEFAULT_PATH += "/bin";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user