summary refs log tree commit diff
path: root/pkgs/top-level/make-tarball.nix
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2021-05-31 16:12:17 +0200
committerDomen Kožar <domen@dev.si>2021-05-31 16:12:17 +0200
commitd93e538b5c17715397114834c800b23d99d2ac24 (patch)
tree2369e9b27a1ea42a8323996769c11f4db1af4123 /pkgs/top-level/make-tarball.nix
parent0d698e61863a9920fa92eb5fe6fa10cab4e415e0 (diff)
downloadnixpkgs-d93e538b5c17715397114834c800b23d99d2ac24.tar
nixpkgs-d93e538b5c17715397114834c800b23d99d2ac24.tar.gz
nixpkgs-d93e538b5c17715397114834c800b23d99d2ac24.tar.bz2
nixpkgs-d93e538b5c17715397114834c800b23d99d2ac24.tar.lz
nixpkgs-d93e538b5c17715397114834c800b23d99d2ac24.tar.xz
nixpkgs-d93e538b5c17715397114834c800b23d99d2ac24.tar.zst
nixpkgs-d93e538b5c17715397114834c800b23d99d2ac24.zip
tarball: check systems based on the list of supported systems
Diffstat (limited to 'pkgs/top-level/make-tarball.nix')
-rw-r--r--pkgs/top-level/make-tarball.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix
index f65829e29ca..d0728c5d1b2 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 . \