mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
Revert "Merge pull request #11350 from noamraph/homeless-shelter-to-proc-changelog"
This reverts commitfa49d2e356
, reversing changes made toaf26fe3934
.
This commit is contained in:
parent
096bec8eb2
commit
90560eeccc
@ -1,9 +0,0 @@
|
||||
---
|
||||
synopsis: On linux, set $HOME=/proc/homeless-shelter instead of /homeless-shelter
|
||||
issues: [8313, 11295]
|
||||
prs: [11300]
|
||||
---
|
||||
|
||||
When building, $HOME is set to a non-existing directory. Previously it was always set to `/homeless-shelter`. Before a build, Nix verifies that it doesn't exist. In some scenarios (specifically when using the Linux sandbox with a single-user installation), it is possible to create the `/homeless-shelter` directory, and some tools will create it, resulting in a build error.
|
||||
|
||||
Now, on Linux, $HOME is set to `/proc/homeless-shelter`. This directory can never be created, since `/proc` is a virtual filesystem. This resolves the issue.
|
Loading…
Reference in New Issue
Block a user