[Nix-dev] Re: [Nix-commits] SVN commit: nix - r28669 - nixpkgs/trunk/pkgs/top-level

Shea Levy shea at shealevy.com
Fri Aug 19 01:05:35 CEST 2011


Is there a reason to prefer pkgs. over recursive attributes in top-level?
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

"Yury G. Kudryashov" <urkud at mccme.ru> wrote:

Author: urkud
Date: Thu Aug 18 22:41:57 2011
New Revision: 28669
URL: https://svn.nixos.org/websvn/nix/?rev=28669&sc=1

Log:
Pull from pkgs, not rec

Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
_____________________________________________

--- nixpkgs/trunk/pkgs/top-level/all-packages.nix	Thu Aug 18 19:50:18 2011	(r28668)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix	Thu Aug 18 22:41:57 2011	(r28669)
@@ -3449,11 +3449,9 @@

gtkmathview = callPackage ../development/libraries/gtkmathview { };

- gtkLibs = gtkLibs224;
+ gtkLibs = pkgs.gtkLibs224;

- glib = gtkLibs.glib;
- gtk = gtkLibs.gtk;
- pango = gtkLibs.pango;
+ inherit (pkgs.gtkLibs) glib gtk pango;

gtkLibs1x = recurseIntoAttrs (let callPackage = newScope pkgs.gtkLibs1x; in {

_____________________________________________

nix-commits mailing list
nix-commits at cs.uu.nl
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20110818/d298dbf5/attachment.html 


More information about the nix-dev mailing list