On 6 March 2015 at 23:00, CodeHero <[email protected]> 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
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to