summary refs log tree commit diff
path: root/pkgs/test/haskell/documentationTarball/default.nix
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-07-13 15:37:22 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-07-13 15:37:22 +0200
commit3e19234f34b4ac3090771e9b72e24870e820486a (patch)
treea6dd53225fb3418774b1799047c5695ba4f07fb3 /pkgs/test/haskell/documentationTarball/default.nix
parent6bd0c16f89c88abca07c684d30584124cd979224 (diff)
downloadnixpkgs-3e19234f34b4ac3090771e9b72e24870e820486a.tar
nixpkgs-3e19234f34b4ac3090771e9b72e24870e820486a.tar.gz
nixpkgs-3e19234f34b4ac3090771e9b72e24870e820486a.tar.bz2
nixpkgs-3e19234f34b4ac3090771e9b72e24870e820486a.tar.lz
nixpkgs-3e19234f34b4ac3090771e9b72e24870e820486a.tar.xz
nixpkgs-3e19234f34b4ac3090771e9b72e24870e820486a.tar.zst
nixpkgs-3e19234f34b4ac3090771e9b72e24870e820486a.zip
tests.haskell: set meta.platforms
This allows packagePlatforms to pick up on the overall supported
platforms and schedule builds on Hydra for more than the evaluation
platform (usually x86_64-linux).
Diffstat (limited to 'pkgs/test/haskell/documentationTarball/default.nix')
-rw-r--r--pkgs/test/haskell/documentationTarball/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/test/haskell/documentationTarball/default.nix b/pkgs/test/haskell/documentationTarball/default.nix
index aec3dc41f26..e3214fb49fe 100644
--- a/pkgs/test/haskell/documentationTarball/default.nix
+++ b/pkgs/test/haskell/documentationTarball/default.nix
@@ -4,7 +4,11 @@ let
   drv = haskellPackages.vector;
   docs = pkgs.haskell.lib.documentationTarball drv;
 
-in pkgs.runCommand "test haskell.lib.documentationTarball" { } ''
+in pkgs.runCommand "test haskell.lib.documentationTarball" {
+  meta = {
+    inherit (docs.meta) platforms;
+  };
+} ''
   tar xvzf "${docs}/${drv.name}-docs.tar.gz"
 
   # Check for Haddock html