[Nix-dev] nix + rubygems + sinatra
Marc Weber
marco-oweber at gmx.de
Tue Mar 3 22:44:53 CET 2009
> 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
More information about the nix-dev
mailing list