[Nix-dev] getConfig vs packageOverrides

Ludovic Courtès ludo at gnu.org
Mon Feb 20 14:18:02 CET 2012


Hi,

Mathijs Kwik <mathijs at bluescreen303.nl> skribis:

> Is there a preferred way? Or does it depend on the situation?

I think the preferred way is now the ‘.override’ function that is
automatically added to derivations called with ‘callPackage’ (which goes
well with the ‘packageOverrides’ option of Nixpkgs, though one can be
used without the other.)

For finer-grain changes, there’s ‘overrideDerivation’.

Thanks,
Ludo’.



More information about the nix-dev mailing list