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

James Cook james.cook at utoronto.ca
Tue Mar 10 00:30:55 CET 2015


Nixpkgs has a firefox-bin package which probably does exactly what you
are trying to do. You probably just need to update the source path and
hash to be the nightly version.

James

On 9 March 2015 at 00:22, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
> (Again, please copy the list.)
>
> On 9 March 2015 at 00:15, CodeHero <codehero at nerdpol.ch> wrote:
>> Okay. I actually got the wrapper to stop complaining, but now firefox says
>> "Could not find the Mozilla runtime." There are certain runtime files in the
>> firefox nightly archive, but I'm not sure what to do with them. Do I copy
>> them into nix store? And if yes, how?
>
> In shell snippets (buildPhase, installPhase etc.) you can copy things
> to the nix store path of the derivation by using the $out variable.
> For example, "cp -r . $out/the-whole-source-tree".
>
> Maybe the firefox expression in nixpkgs can be of help, to figure out
> what to copy where?
>
> - Bjørn
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list