> The way I added new Nix expressions into nixpkgs was by modifying 
> nixpkgs/pkgs/top-level/all-packages.nix.  Does anybody have any suggestions 
> on how to make that a bit more modular so that Nix expressions 
> automatically generated by a tool could be "plugged in"?

Put somthing like this into your ~/.nixpkgs/config.nix

{
 packageOverrides = pkgs : {
   myFirefox3 = pkgs.lowPrio (pkgs.wrapFirefox pkgs.firefox3 "firefox" "");
 }
}


instead of myFirefox3 you can use arbitrary exceptions..

Sincerly

Marc Weber
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to