[Nix-dev] Overriding all pkgs

Vladimír Čunát vcunat at gmail.com
Wed Apr 1 08:20:25 CEST 2015


On 04/01/2015 01:10 AM, Arseniy Seroka wrote:
> How can I override all pkgs?
> I want to do smth like:
>
>     my_pkgs = map (a: a // {doCHeck = false;}) pkgs.perlPackages

We have lib.mapAttrs, so you can use that. You'll probably also need to 
get a fixed-point on the resulting perlPackages.

Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150401/7c2ed231/attachment.bin 


More information about the nix-dev mailing list