Fix references to pkgs/lib

This commit is contained in:
Eelco Dolstra 2013-09-30 22:43:34 +02:00
parent 5fef92c4a0
commit 3293421dd3
4 changed files with 7 additions and 8 deletions

View file

@ -1,7 +1,7 @@
# Evaluate `release.nix' like Hydra would. Too bad nix-instantiate
# can't to do this.
with import ../../pkgs/lib;
with import ../../lib;
let
trace = if builtins.getEnv "VERBOSE" == "1" then builtins.trace else (x: y: y);

View file

@ -1,4 +1,4 @@
{ stdenv, browser, makeDesktopItem, makeWrapper, plugins, libs, gtk_modules
{ stdenv, lib, browser, makeDesktopItem, makeWrapper, plugins, libs, gtk_modules
, browserName, desktopName, nameSuffix, icon
}:
@ -50,8 +50,7 @@ stdenv.mkDerivation {
description =
browser.meta.description
+ " (with plugins: "
+ (let lib = import ../../../../lib;
in lib.concatStrings (lib.intersperse ", " (map (x: x.name) plugins)))
+ lib.concatStrings (lib.intersperse ", " (map (x: x.name) plugins))
+ ")";
};
}

View file

@ -14,7 +14,7 @@ else
let
lib = import ../../lib;
lib = import ../../../lib;
allowUnfree = config.allowUnfree or true && builtins.getEnv "HYDRA_DISALLOW_UNFREE" != "1";

View file

@ -46,7 +46,7 @@ let config_ = config; platform_ = platform; in # rename the function arguments
let
lib = import ../lib;
lib = import ../../lib;
# The contents of the configuration file found at $NIXPKGS_CONFIG or
# $HOME/.nixpkgs/config.nix.
@ -381,7 +381,7 @@ let
inherit pkgs;
};
composableDerivation = (import ../lib/composable-derivation.nix) {
composableDerivation = (import ../../lib/composable-derivation.nix) {
inherit pkgs lib;
};
@ -8886,7 +8886,7 @@ let
enableGnash = cfg.enableGnash or false;
in
import ../applications/networking/browsers/firefox/wrapper.nix {
inherit stdenv makeWrapper makeDesktopItem browser browserName desktopName nameSuffix icon;
inherit stdenv lib makeWrapper makeDesktopItem browser browserName desktopName nameSuffix icon;
plugins =
assert !(enableGnash && enableAdobeFlash);
([ ]