about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/top-level/make-tarball.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix
index 0c138545f720..22fc80390acd 100644
--- a/pkgs/top-level/make-tarball.nix
+++ b/pkgs/top-level/make-tarball.nix
@@ -40,7 +40,7 @@ releaseTools.makeSourceTarball {
 
   checkPhase = ''
     # Run the regression tests in `lib'.
-    res="$(nix-instantiate --eval-only --strict tests.nix)"
+    res="$(nix-instantiate --eval-only --strict pkgs/lib/tests.nix)"
     if test "$res" != "List([])"; then
         echo "regression tests for lib failed, got: $res"
         exit 1