mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
release.nix: Only build Only build bootstrap tools when their system is supported
This commit is contained in:
parent
121b8d23af
commit
13d6681ce7
@ -67,13 +67,13 @@ let
|
||||
jobs.vim.x86_64-darwin
|
||||
] ++ lib.collect lib.isDerivation jobs.stdenvBootstrapTools;
|
||||
};
|
||||
|
||||
} // (lib.optionalAttrs (builtins.elem "i686-linux" supportedSystems) {
|
||||
stdenvBootstrapTools.i686-linux =
|
||||
{ inherit (import ../stdenv/linux/make-bootstrap-tools.nix { system = "i686-linux"; }) dist test; };
|
||||
|
||||
}) // (lib.optionalAttrs (builtins.elem "x86_64-linux" supportedSystems) {
|
||||
stdenvBootstrapTools.x86_64-linux =
|
||||
{ inherit (import ../stdenv/linux/make-bootstrap-tools.nix { system = "x86_64-linux"; }) dist test; };
|
||||
|
||||
}) // (lib.optionalAttrs (builtins.elem "x86_64-darwin" supportedSystems) {
|
||||
stdenvBootstrapTools.x86_64-darwin =
|
||||
let
|
||||
bootstrap = import ../stdenv/darwin/make-bootstrap-tools.nix { system = "x86_64-darwin"; };
|
||||
@ -83,8 +83,7 @@ let
|
||||
# Test a full stdenv bootstrap from the bootstrap tools definition
|
||||
inherit (bootstrap.test-pkgs) stdenv;
|
||||
};
|
||||
|
||||
} // (mapTestOn ((packagePlatforms pkgs) // rec {
|
||||
}) // (mapTestOn ((packagePlatforms pkgs) // rec {
|
||||
haskell.compiler = packagePlatforms pkgs.haskell.compiler;
|
||||
haskellPackages = packagePlatforms pkgs.haskellPackages;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user