From 756d1aca7909dddd740208caf663c6e5e212e916 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 28 Sep 2006 14:12:09 +0000 Subject: [PATCH] * Export ../lib/default.nix. svn path=/nixpkgs/trunk/; revision=6620 --- pkgs/top-level/all-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3696f34f2bfa..de7ed5214f13 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -77,11 +77,11 @@ rec { useFromStdenv = hasIt: it: alternative: if hasIt then it else alternative; - inherit (import ../lib) getAttr; + library = import ../lib; # Return an attribute from the Nixpkgs configuration file, or # a default value if the attribute doesn't exist. - getConfig = attrPath: default: getAttr attrPath default config; + getConfig = attrPath: default: library.getAttr attrPath default config; # The contents of the configuration file found at $NIXPKGS_CONFIG or # $HOME/.nixpkgs/config.nix.