summary refs log tree commit diff
path: root/pkgs/test/haskell/setBuildTarget/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/test/haskell/setBuildTarget/default.nix')
-rw-r--r--pkgs/test/haskell/setBuildTarget/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/test/haskell/setBuildTarget/default.nix b/pkgs/test/haskell/setBuildTarget/default.nix
index b1335e2a74c..5a8391d0886 100644
--- a/pkgs/test/haskell/setBuildTarget/default.nix
+++ b/pkgs/test/haskell/setBuildTarget/default.nix
@@ -30,7 +30,12 @@ let
          fi
      '';
 
-in pkgs.runCommand "test haskell.lib.setBuildTarget" {} ''
+in
+pkgs.runCommand "test haskell.lib.setBuildTarget" {
+  meta = {
+    inherit (drv.meta) platforms;
+  };
+} ''
   ${test "foo" "bar"}
   ${test "bar" "foo"}
   touch "$out"