Hi Clément,
Thanks for researching this!
clem...@lassieur.org (Clément Lassieur) skribis:
> https://github.com/NixOS/nix/blob/258897c265a6d6575f1669a896ab6f5ab92337c3/src/libstore/build.cc#L1694
>
> Set HOME to a non-existing path to prevent certain programs from using
> /etc/passwd (or NIS, or
Hi Jesse,
Jesse Gibbons writes:
> On Sun, 2019-11-17 at 22:39 +0100, Ludovic Courtès wrote:
>> Hi!
>>
>> Because it’s always been this way! :-)
>>
>> This is inherited from Nix. The rationale is that there’s no home
>> directory in build environments, and perhaps Eelco Dolstra and others
>>
On Sun, 2019-11-17 at 22:39 +0100, Ludovic Courtès wrote:
> Hi!
>
> Because it’s always been this way! :-)
>
> This is inherited from Nix. The rationale is that there’s no home
> directory in build environments, and perhaps Eelco Dolstra and others
> back then found that setting ‘HOME’ to a non
Hi!
Because it’s always been this way! :-)
This is inherited from Nix. The rationale is that there’s no home
directory in build environments, and perhaps Eelco Dolstra and others
back then found that setting ‘HOME’ to a non-existing directory broke
fewer builds that leaving it unset.
HTH,
Ludo