summary refs log tree commit diff
path: root/pkgs/stdenv/generic
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 /pkgs/stdenv/generic
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 'pkgs/stdenv/generic')
-rw-r--r--pkgs/stdenv/generic/check-meta.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix
index 301080f0f90..d09dff10b27 100644
--- a/pkgs/stdenv/generic/check-meta.nix
+++ b/pkgs/stdenv/generic/check-meta.nix
@@ -166,6 +166,7 @@ let
     hydraPlatforms = listOf str;
     broken = bool;
     # TODO: refactor once something like Profpatsch's types-simple will land
+    # This is currently dead code due to https://github.com/NixOS/nix/issues/2532
     tests = attrsOf (mkOptionType {
       name = "test";
       check = x: x == {} || ( # Accept {} for tests that are unsupported