forked from mirrors/nixpkgs
tarball: check systems based on the list of supported systems
This commit is contained in:
parent
0d698e6186
commit
d93e538b5c
|
@ -4,6 +4,7 @@
|
|||
|
||||
{ nixpkgs
|
||||
, officialRelease
|
||||
, supportedSystems
|
||||
, pkgs ? import nixpkgs.outPath {}
|
||||
, nix ? pkgs.nix
|
||||
, lib-tests ? import ../../lib/tests/release.nix { inherit pkgs; }
|
||||
|
@ -66,7 +67,7 @@ releaseTools.sourceTarball {
|
|||
fi
|
||||
|
||||
# Check that all-packages.nix evaluates on a number of platforms without any warnings.
|
||||
for platform in i686-linux x86_64-linux x86_64-darwin; do
|
||||
for platform in ${pkgs.lib.concatStringsSep " " supportedSystems}; do
|
||||
header "checking Nixpkgs on $platform"
|
||||
|
||||
nix-env -f . \
|
||||
|
|
|
@ -12,7 +12,7 @@ with import ./release-lib.nix { inherit supportedSystems nixpkgsArgs; };
|
|||
{
|
||||
|
||||
tarball = import ./make-tarball.nix {
|
||||
inherit nixpkgs;
|
||||
inherit nixpkgs supportedSystems;
|
||||
officialRelease = false;
|
||||
};
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ let
|
|||
supportDarwin = builtins.elem "x86_64-darwin" systemsWithAnySupport;
|
||||
|
||||
jobs =
|
||||
{ tarball = import ./make-tarball.nix { inherit pkgs nixpkgs officialRelease; };
|
||||
{ tarball = import ./make-tarball.nix { inherit pkgs nixpkgs officialRelease supportedSystems; };
|
||||
|
||||
metrics = import ./metrics.nix { inherit pkgs nixpkgs; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue