Replace the merge operators by the fix' and extends functions.

This commit is contained in:
Nicolas B. Pierron 2016-03-20 19:23:08 +00:00
parent 1bcefcdf5c
commit 5ae7356d42

View File

@ -134,19 +134,15 @@ let
customOverrides = self: super: customOverrides = self: super:
lib.optionalAttrs (bootStdenv == null) (overrider self super); lib.optionalAttrs (bootStdenv == null) (overrider self super);
in
pkgs_1 = {}; lib.fix' (
pkgs_2 = pkgs_1 // stdenvAdapters pkgs pkgs_1; lib.extends customOverrides (
pkgs_3 = pkgs_2 // trivialBuilders pkgs pkgs_2; lib.extends stdenvOverrides (
pkgs_4 = pkgs_3 // stdenvDefault pkgs pkgs_3; lib.extends aliases (
pkgs_5 = pkgs_4 // allPackages pkgs pkgs_4; lib.extends allPackages (
pkgs_6 = pkgs_5 // aliases pkgs pkgs_5; lib.extends stdenvDefault (
lib.extends trivialBuilders (
pkgs_7 = pkgs_6 // stdenvOverrides pkgs pkgs_6; lib.extends stdenvAdapters (
self: {}))))))));
# The overriden, final packages.
pkgs = pkgs_7 // customOverrides pkgs pkgs_7;
in pkgs;
in in
pkgs pkgs