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

Bjørn Forsman bjorn.forsman at gmail.com
Fri Mar 6 23:15:33 CET 2015


On 6 March 2015 at 23:00, CodeHero <codehero at nerdpol.ch> wrote:
> So I tried to run firefox nightly by downloading the tar from
> https://nightly.mozilla.org/ and installing a wrapper with the
> directions from
> https://nixos.org/wiki/FAQ#I.27ve_downloaded_a_binary.2C_but_I_can.27t_run_it.2C_what_can_I_do.3F.
> However that did not work. When I try to run the wrapper using
> ./result/bin/firefox-nightly it says that the file
> /nix/store/...-firefox-nightly/bin/.firefox-nightly-wrapped does not
> exist although it does exist.

Prebuilt binaries (ELF files) typically have interpreter
/lib/ld-linux.so, which doesn't exist in NixOS (so it's the
interpreter that "does not exist"). Either patch it with patchelf
--set-interpreter ${glibc}/lib/ld-linux.so.... or run
"${glibc}/lib/ld-linux.so path/to/mybinary".

- Bjørn


More information about the nix-dev mailing list