mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Revert "Merge pull request #11300 from noamraph/homeless-shelter-to-proc"
This reverts commit43e82c9446
, reversing changes made tod79b9bdec0
. Since /proc/homeless-shelter returns a different errno than /homeless-shelter (ENOENT vs EACCES), we need to revert this change. Software depends on this error code i.e. cargo and therefore breaks.
This commit is contained in:
parent
85f1aa6b3d
commit
096bec8eb2
2 changed files with 1 additions and 9 deletions
|
@ -264,8 +264,7 @@ The [`builder`](#attr-builder) is executed as follows:
|
|||
- `PATH` is set to `/path-not-set` to prevent shells from
|
||||
initialising it to their built-in default value.
|
||||
|
||||
- `HOME` is set to `/proc/homeless-shelter` on Linux and `/homeless-shelter`
|
||||
on OSX, to prevent programs from
|
||||
- `HOME` is set to `/homeless-shelter` to prevent programs from
|
||||
using `/etc/passwd` or the like to find the user's home
|
||||
directory, which could cause impurity. Usually, when `HOME` is
|
||||
set, it is used as the location of the home directory, even if
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue