summary refs log tree commit diff
path: root/nixos/tests/all-tests.nix
diff options
context:
space:
mode:
authorLéo Gaspard <leo@gaspard.io>2018-11-11 22:55:23 +0900
committerLéo Gaspard <leo@gaspard.io>2018-11-11 23:11:46 +0900
commit2986ce16a8012e90f0066b7bc9ccea1543644a4b (patch)
tree03ede8b20887000ec655676be8e67e566f5802c2 /nixos/tests/all-tests.nix
parentcae5598611e74dfebf98e67803d4935f95888500 (diff)
downloadnixpkgs-2986ce16a8012e90f0066b7bc9ccea1543644a4b.tar
nixpkgs-2986ce16a8012e90f0066b7bc9ccea1543644a4b.tar.gz
nixpkgs-2986ce16a8012e90f0066b7bc9ccea1543644a4b.tar.bz2
nixpkgs-2986ce16a8012e90f0066b7bc9ccea1543644a4b.tar.lz
nixpkgs-2986ce16a8012e90f0066b7bc9ccea1543644a4b.tar.xz
nixpkgs-2986ce16a8012e90f0066b7bc9ccea1543644a4b.tar.zst
nixpkgs-2986ce16a8012e90f0066b7bc9ccea1543644a4b.zip
meta.tests: rename into passthru.tests
Nix currently rejects derivations in `meta` values. This works around
that limitation by using `passthru` instead.

Closes https://github.com/NixOS/nixpkgs/issues/50230
Diffstat (limited to 'nixos/tests/all-tests.nix')
-rw-r--r--nixos/tests/all-tests.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 0d6dc48c9d6..718a95dadd2 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -2,7 +2,7 @@
 # The return value of this function will be an attrset with arbitrary depth and
 # the `anything` returned by callTest at its test leafs.
 # The tests not supported by `system` will be replaced with `{}`, so that
-# `meta.tests` can contain links to those without breaking on architectures
+# `passthru.tests` can contain links to those without breaking on architectures
 # where said tests are unsupported.
 # Example callTest that just extracts the derivation from the test:
 #   callTest = t: t.test;