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
|
||||
, config, crossSystem, platform, lib
|
||||
, pkgsWithOverrides, stdenvAdapters
|
||||
, pkgsWithOverrides
|
||||
, ... }:
|
||||
self: pkgs:
|
||||
|
||||
@ -74,7 +74,7 @@ in
|
||||
|
||||
|
||||
### Helper functions.
|
||||
inherit lib config stdenvAdapters;
|
||||
inherit lib config;
|
||||
|
||||
inherit (lib) lowPrio hiPrio appendToName makeOverridable;
|
||||
inherit (misc) versionedDerivation;
|
||||
|
@ -114,14 +114,16 @@ let
|
||||
pkgsWithOverrides = overrider:
|
||||
let
|
||||
stdenvAdapters =
|
||||
import ../stdenv/adapters.nix pkgs;
|
||||
let res = import ../stdenv/adapters.nix pkgs; in res // {
|
||||
stdenvAdapters = res;
|
||||
};
|
||||
|
||||
trivialBuilders =
|
||||
(import ../build-support/trivial-builders.nix { inherit lib; inherit (pkgs) stdenv; inherit (pkgs.xorg) lndir; });
|
||||
|
||||
stdenvDefault = (import ./stdenv.nix topLevelArguments) {} pkgs;
|
||||
|
||||
selfArgs = topLevelArguments // { inherit pkgsWithOverrides stdenvAdapters; };
|
||||
selfArgs = topLevelArguments // { inherit pkgsWithOverrides; };
|
||||
self = (import ./all-packages.nix selfArgs) self pkgs;
|
||||
|
||||
aliases = import ./aliases.nix self;
|
||||
|
Loading…
Reference in New Issue
Block a user