From d93e538b5c17715397114834c800b23d99d2ac24 Mon Sep 17 00:00:00 2001 From: Domen Kožar Date: Mon, 31 May 2021 16:12:17 +0200 Subject: tarball: check systems based on the list of supported systems --- pkgs/top-level/make-tarball.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/top-level/make-tarball.nix') diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix index f65829e29cabd..d0728c5d1b2c4 100644 --- a/pkgs/top-level/make-tarball.nix +++ b/pkgs/top-level/make-tarball.nix @@ -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 . \ -- cgit 1.4.1