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 <[email protected]> wrote: > (Again, please copy the list.) > > On 9 March 2015 at 00:15, CodeHero <[email protected]> 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 > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
