Hi,

Eelco Dolstra wrote:

>>>   pwd: error retrieving current directory: getcwd: cannot access parent 
>>> directories: Success
>>>   pwd: error retrieving current directory: getcwd: cannot access parent 
>>> directories: Bad address
>>>   chdir: error retrieving current directory: getcwd: cannot access parent 
>>> directories: Success
...
> It appears that normal bash (linked against Glibc) works properly because it
> uses the getcwd() system call instead of trying to figure out the cwd itself.

I've committed a workaround: Nix now sets the PWD environment variable to the
temporary build directory.  That seems to make dietlibc happy :-)

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to