+1
-1
doc/release-notes/rl-2511.section.md
+1
-1
doc/release-notes/rl-2511.section.md
···<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
···<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->+- Added `allowVariants` to gate availability of package sets like `pkgsLLVM`, `pkgsMusl`, `pkgsZig`, etc.
+12
pkgs/top-level/config.nix
+12
pkgs/top-level/config.nix
···+Variants are instances of the current nixpkgs instance with different stdenvs or other applied options.
+12
-102
pkgs/top-level/stage.nix
+12
-102
pkgs/top-level/stage.nix
···aliases = self: super: lib.optionalAttrs config.allowAliases (import ./aliases.nix lib self super);······pkgsCross = lib.mapAttrs (n: crossSystem: nixpkgsFun { inherit crossSystem; }) lib.systems.examples;-config = lib.systems.parse.tripleFromSystem (makeMuslParsedPlatform stdenv.hostPlatform.parsed);······
···aliases = self: super: lib.optionalAttrs config.allowAliases (import ./aliases.nix lib self super);······pkgsCross = lib.mapAttrs (n: crossSystem: nixpkgsFun { inherit crossSystem; }) lib.systems.examples;······
+127
pkgs/top-level/variants.nix
+127
pkgs/top-level/variants.nix
···
···+config = lib.systems.parse.tripleFromSystem (makeMuslParsedPlatform stdenv.hostPlatform.parsed);