[Nix-dev] How do I install firefox nightly or any other program that gets daily updates?

Bjørn Forsman bjorn.forsman at gmail.com
Sat Mar 7 00:04:05 CET 2015


On 6 March 2015 at 23:59, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
> On 6 March 2015 at 23:33, CodeHero <codehero at nerdpol.ch> wrote:
>> Okay. I tried patching the firefox-bin with "patchelf --set-interpreter
>> ${glibc}/lib/ld-linux.so firefox-bin" before using nix-build, but the "does
>> not exist" message still appears.
>>
>> Using "${glibc}/lib/ld-linux.so ..." just results in "bash:
>> /lib/ld-linux.so: No such file or directory"
>
> Oh, did you run those commands directly (and unaltered) in a shell? It
> was meant more like pseudo-code. Sorry for not being clear. ${glibc}
> should refer to the the nix store path of the glibc derivation. In a
> standard shell, ${glibc} most likely expands to nothing. Which
> obviously does not result in a valid path :-)

Or if used inside a nix expression, something like "${glibc}/lib/..."
will expand to "/nix/store/HASH-glibc/lib/...".

- Bjørn


More information about the nix-dev mailing list