summary refs log tree commit diff
path: root/pkgs/test/haskell/shellFor
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/shellFor
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/shellFor')
-rw-r--r--pkgs/test/haskell/shellFor/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/test/haskell/shellFor/default.nix b/pkgs/test/haskell/shellFor/default.nix
index 37ad2e90d89..04f5e045361 100644
--- a/pkgs/test/haskell/shellFor/default.nix
+++ b/pkgs/test/haskell/shellFor/default.nix
@@ -29,5 +29,8 @@
       additionalMaintainers = with lib.maintainers; [ cdepillabout ];
       allMaintainers = oldMaintainers ++ additionalMaintainers;
     in
-    oldMeta // { maintainers = allMaintainers; };
+    oldMeta // {
+      maintainers = allMaintainers;
+      inherit (cabal-install.meta) platforms;
+    };
 })