about summary refs log tree commit diff
path: root/lib/tests
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-12-06 18:38:23 -0800
committerAdam Joseph <adam@westernsemico.com>2023-12-15 05:13:50 -0800
commit8f34a10d6a74ede31014d5f19e03253feb43edf1 (patch)
treee5b4e66631ec659c4240cf9c109d2512f9b21185 /lib/tests
parent2d036511f65a267604a27d4758de1eb952315b15 (diff)
lib/tests/release.nix: temporary reference to pkgs/test/release
This commit temporarily adds pkgs/test/release to the
lib/tests/release.nix test suite, because ofborg already knows about
that entry point.

We should move the list of test entry points out of ofborg and into
a central place in nixpkgs:

  https://github.com/NixOS/nixpkgs/issues/272591

Once we do that we won't need to have this ugly kludge in an
inappropriate place.
Diffstat (limited to 'lib/tests')
-rw-r--r--lib/tests/release.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/tests/release.nix b/lib/tests/release.nix
index 843180490bb2b..96d34be8c2d35 100644
--- a/lib/tests/release.nix
+++ b/lib/tests/release.nix
@@ -67,5 +67,17 @@ let
 in
   pkgs.symlinkJoin {
     name = "nixpkgs-lib-tests";
-    paths = map testWithNix nixVersions;
+    paths = map testWithNix nixVersions ++
+
+      #
+      # TEMPORARY MIGRATION MECHANISM
+      #
+      # This comment and the expression which follows it should be
+      # removed as part of resolving this issue:
+      #
+      #   https://github.com/NixOS/nixpkgs/issues/272591
+      #
+      [(import ../../pkgs/test/release {})]
+    ;
+
   }