mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
pkgs/top-level/stage.nix: fix allowVariants with variants set
This commit is contained in:
@@ -191,15 +191,19 @@ let
|
|||||||
|
|
||||||
aliases = self: super: lib.optionalAttrs config.allowAliases (import ./aliases.nix lib self super);
|
aliases = self: super: lib.optionalAttrs config.allowAliases (import ./aliases.nix lib self super);
|
||||||
|
|
||||||
variants = import ./variants.nix {
|
variants =
|
||||||
inherit
|
self: super:
|
||||||
lib
|
lib.optionalAttrs config.allowVariants (
|
||||||
nixpkgsFun
|
import ./variants.nix {
|
||||||
stdenv
|
inherit
|
||||||
overlays
|
lib
|
||||||
makeMuslParsedPlatform
|
nixpkgsFun
|
||||||
;
|
stdenv
|
||||||
};
|
overlays
|
||||||
|
makeMuslParsedPlatform
|
||||||
|
;
|
||||||
|
} self super
|
||||||
|
);
|
||||||
|
|
||||||
# stdenvOverrides is used to avoid having multiple of versions
|
# stdenvOverrides is used to avoid having multiple of versions
|
||||||
# of certain dependencies that were used in bootstrapping the
|
# of certain dependencies that were used in bootstrapping the
|
||||||
|
|||||||
Reference in New Issue
Block a user