[Nix-dev] Fwd: Re: Problem with builder #1 - nix-shell and nix-build behave differently

Tomasz Kontusz tomasz.kontusz at gmail.com
Thu May 14 18:45:03 CEST 2015




-------- Wiadomość oryginalna --------
Od: Tomasz Kontusz <tomasz.kontusz at gmail.com>
Wysłane: Thu May 14 18:44:25 CEST 2015
Do: Daniel Hlynskyi <abcz2.uprola at gmail.com>
Temat: Re: [Nix-dev] Problem with builder #1 - nix-shell and nix-build behave differently

Actually it's done by the function that runs all the phases (which might not be the best code factoring :-)), so it's between phases.

Daniel Hlynskyi <abcz2.uprola at gmail.com> napisał:
>Then how does nix-build handle this? Is there some special hook "cd
>$sourceRoot" after unpackPhase? Why this hook is not added to
>nix-shell?
>
>2015-05-14 11:15 GMT+03:00 Tomasz Kontusz <tomasz.kontusz at gmail.com>:
>
>> entering the source root is not a part of any phase, so you'll have
>to do
>> it by hand in the nix-shell
>>
>> --
>> Wysłane za pomocą K-9 Mail.
>>

-- 
Wysłane za pomocą K-9 Mail.
-- 
Wysłane za pomocą K-9 Mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150514/ff2ff0e3/attachment-0001.html 


More information about the nix-dev mailing list