[Nix-dev] how to overwrite a derivation in nix
Sergey
grrwlf at gmail.com
Fri Jan 10 11:20:16 CET 2014
Hi, list! Does nixpkgs library contain a function able to overwrite an
existing derivation? I would like the following usage pattern to be
possible:
with pkgs; {
thunar_with_whistles = overwrite pkgs.thunar (old:{
patches = old.patches ++ [ ./add_whistles.patch ];
});
}
I may want to add a new patch (like in the pattern above), add new build
phase or change some meta field.
Regards,
Sergey
More information about the nix-dev
mailing list