Fix references to pkgs/lib
This commit is contained in:
parent
5fef92c4a0
commit
3293421dd3
4 changed files with 7 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Evaluate `release.nix' like Hydra would. Too bad nix-instantiate
|
# Evaluate `release.nix' like Hydra would. Too bad nix-instantiate
|
||||||
# can't to do this.
|
# can't to do this.
|
||||||
|
|
||||||
with import ../../pkgs/lib;
|
with import ../../lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
trace = if builtins.getEnv "VERBOSE" == "1" then builtins.trace else (x: y: y);
|
trace = if builtins.getEnv "VERBOSE" == "1" then builtins.trace else (x: y: y);
|
||||||
|
|
|
@ -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
|
, browserName, desktopName, nameSuffix, icon
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -50,8 +50,7 @@ stdenv.mkDerivation {
|
||||||
description =
|
description =
|
||||||
browser.meta.description
|
browser.meta.description
|
||||||
+ " (with plugins: "
|
+ " (with plugins: "
|
||||||
+ (let lib = import ../../../../lib;
|
+ lib.concatStrings (lib.intersperse ", " (map (x: x.name) plugins))
|
||||||
in lib.concatStrings (lib.intersperse ", " (map (x: x.name) plugins)))
|
|
||||||
+ ")";
|
+ ")";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ else
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
lib = import ../../lib;
|
lib = import ../../../lib;
|
||||||
|
|
||||||
allowUnfree = config.allowUnfree or true && builtins.getEnv "HYDRA_DISALLOW_UNFREE" != "1";
|
allowUnfree = config.allowUnfree or true && builtins.getEnv "HYDRA_DISALLOW_UNFREE" != "1";
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ let config_ = config; platform_ = platform; in # rename the function arguments
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
lib = import ../lib;
|
lib = import ../../lib;
|
||||||
|
|
||||||
# The contents of the configuration file found at $NIXPKGS_CONFIG or
|
# The contents of the configuration file found at $NIXPKGS_CONFIG or
|
||||||
# $HOME/.nixpkgs/config.nix.
|
# $HOME/.nixpkgs/config.nix.
|
||||||
|
@ -381,7 +381,7 @@ let
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
};
|
};
|
||||||
|
|
||||||
composableDerivation = (import ../lib/composable-derivation.nix) {
|
composableDerivation = (import ../../lib/composable-derivation.nix) {
|
||||||
inherit pkgs lib;
|
inherit pkgs lib;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -8886,7 +8886,7 @@ let
|
||||||
enableGnash = cfg.enableGnash or false;
|
enableGnash = cfg.enableGnash or false;
|
||||||
in
|
in
|
||||||
import ../applications/networking/browsers/firefox/wrapper.nix {
|
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 =
|
plugins =
|
||||||
assert !(enableGnash && enableAdobeFlash);
|
assert !(enableGnash && enableAdobeFlash);
|
||||||
([ ]
|
([ ]
|
||||||
|
|
Loading…
Reference in a new issue