Hi, On 05/26/2011 05:24 PM, Ludovic Courtès wrote:
Really? I like getConfig.Well, ‘callPackage’ automatically does ‘makeOverrideable’, which adds a ‘.override’ function to the derivation, which can be used to do almost anything. So I think the current trend is to add: ghostscript = pkgs.ghostscript.override { foo = bar; } in your ~/.nixpkgs/config.nix.
Right, this is preferrable because it doesn't require a zillion getConfig calls in all-packages.nix.
-- Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/ _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
