[Nix-dev] deepOverride (was [Nix-commits] SVN commit: nix - 22529 - raskin - in nixpkgs/trunk/pkgs: development/interpreters/perl-5.10 development/interpreters/python/2.6 development/libraries/avahi development/libraries/cairo development/libraries/consolekit development/libraries/enchant development/libraries/freetype development/libraries/libjpeg development/libraries/libxml2 development/libraries/openssl development/libraries/zlib development/tools/misc/gnum4 lib os-specific/linux/hal servers/pulseaudio tools/networking/curl top-level)

Michael Raskin 7c6f434c at mail.ru
Fri Jul 9 19:42:14 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/09/2010 08:58 PM, Marc Weber wrote:
> Solution (paste this at the end of your all-packages.nix):
> 
>     pkgsFunDeepOverride = overrides: pkgsFun (overrides // __overrides);

Simple and answers my question completely. Thank you. The use case I
quoted is bad enough to agree that nothing better is needed.

> Does someone disagree on removing deepOverrides - reimplementing its
> usages using the new style?

I support this change.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMN191AAoJEE6tnN0aWvw3sZcH/3eCf+uViU7XeKoxQTvLpxWh
PF1OBmkZG2KHgj/cmmGkP/3nkHot2D5ApDR5SdQmOL7XS+KNTlzkJoQSIKB6iC0X
v2BQXALEScTZFVHULp6n0Q6Dsp3mKAJz93YSUVR2uJPoniCV/CkB8VHA3/upmqFj
d4pPGeegZb8pLgzTSZbepEs+LHQqP8Fh5SRUmJ4U3lsJ/WjpWcYY9O58X1iFfYMV
Je+5oK7wouhO3mDV8G1ogKBhWejQ7XWKL99dcfHCOtC/++dNYN/VKqyLiNrirZiw
oFzIqAbq293PJ7BQPwaEDLR8tGNur/x71XowyI6kISJtYcgqgD+Gy3NrhM0/A24=
=OOtk
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list