aboutsummaryrefslogtreecommitdiff
path: root/tests/user-envs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/user-envs.nix')
-rw-r--r--tests/user-envs.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/user-envs.nix b/tests/user-envs.nix
index 6ac896ed8..46f8b51dd 100644
--- a/tests/user-envs.nix
+++ b/tests/user-envs.nix
@@ -8,6 +8,8 @@ assert foo == "foo";
let
+ platforms = let x = "foobar"; in [ x x ];
+
makeDrv = name: progName: (mkDerivation {
name = assert progName != "fail"; name;
inherit progName system;
@@ -15,6 +17,7 @@ let
} // {
meta = {
description = "A silly test package with some \${escaped anti-quotation} in it";
+ inherit platforms;
};
});