[Nix-dev] how to solve a package depending on another package ?

Vladimír Čunát vcunat at gmail.com
Tue Dec 3 17:26:18 CET 2013


On 12/03/2013 01:40 PM, Roelof Wobben wrote:
> Can I do something like this then :
>
> cinnamon = recurseIntoAttrs rec{
>      callPackage=pkgs.newScope pkgs.cinnamon;
>      inherit (gnome) gnome-common ;
>      cinnamon-desktop = callPackage ../desktops/cinnamon/cinnamon-desktop.nix { } ;
>      cinnamon-settings-daemon = callPackage ../desktops/cinnamon/cinnamon-settings-daemon.nix{ };
>   };
>
> Because almost every package except cjs depends on gnome-common

Yes, only currently it's gnome_common (with underscore).

Vlada


-------------- 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/20131203/1881a4c3/attachment-0001.bin 


More information about the nix-dev mailing list