Move stdenvAdapaters attribute from all-packages.nix into the stdenvAdapters of the top-level.
This commit is contained in:
parent
ff72cf185e
commit
01693ac154
@ -1,6 +1,6 @@
|
|||||||
{ system, bootStdenv, noSysDirs, gccWithCC, gccWithProfiling
|
{ system, bootStdenv, noSysDirs, gccWithCC, gccWithProfiling
|
||||||
, config, crossSystem, platform, lib
|
, config, crossSystem, platform, lib
|
||||||
, pkgsWithOverrides, stdenvAdapters
|
, pkgsWithOverrides
|
||||||
, ... }:
|
, ... }:
|
||||||
self: pkgs:
|
self: pkgs:
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ in
|
|||||||
|
|
||||||
|
|
||||||
### Helper functions.
|
### Helper functions.
|
||||||
inherit lib config stdenvAdapters;
|
inherit lib config;
|
||||||
|
|
||||||
inherit (lib) lowPrio hiPrio appendToName makeOverridable;
|
inherit (lib) lowPrio hiPrio appendToName makeOverridable;
|
||||||
inherit (misc) versionedDerivation;
|
inherit (misc) versionedDerivation;
|
||||||
|
@ -114,14 +114,16 @@ let
|
|||||||
pkgsWithOverrides = overrider:
|
pkgsWithOverrides = overrider:
|
||||||
let
|
let
|
||||||
stdenvAdapters =
|
stdenvAdapters =
|
||||||
import ../stdenv/adapters.nix pkgs;
|
let res = import ../stdenv/adapters.nix pkgs; in res // {
|
||||||
|
stdenvAdapters = res;
|
||||||
|
};
|
||||||
|
|
||||||
trivialBuilders =
|
trivialBuilders =
|
||||||
(import ../build-support/trivial-builders.nix { inherit lib; inherit (pkgs) stdenv; inherit (pkgs.xorg) lndir; });
|
(import ../build-support/trivial-builders.nix { inherit lib; inherit (pkgs) stdenv; inherit (pkgs.xorg) lndir; });
|
||||||
|
|
||||||
stdenvDefault = (import ./stdenv.nix topLevelArguments) {} pkgs;
|
stdenvDefault = (import ./stdenv.nix topLevelArguments) {} pkgs;
|
||||||
|
|
||||||
selfArgs = topLevelArguments // { inherit pkgsWithOverrides stdenvAdapters; };
|
selfArgs = topLevelArguments // { inherit pkgsWithOverrides; };
|
||||||
self = (import ./all-packages.nix selfArgs) self pkgs;
|
self = (import ./all-packages.nix selfArgs) self pkgs;
|
||||||
|
|
||||||
aliases = import ./aliases.nix self;
|
aliases = import ./aliases.nix self;
|
||||||
|
Loading…
Reference in New Issue
Block a user