summaryrefslogtreecommitdiffstats
path: root/lib/tests
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests')
-rw-r--r--lib/tests/release.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tests/release.nix b/lib/tests/release.nix
index 069c015d783a..6b3a1e794b72 100644
--- a/lib/tests/release.nix
+++ b/lib/tests/release.nix
@@ -1,4 +1,4 @@
-{ pkgs ? import ((import ../.).cleanSource ../..) {} }:
+{ pkgs ? import ../.. {} }:
pkgs.runCommandNoCC "nixpkgs-lib-tests" {
buildInputs = [ pkgs.nix (import ./check-eval.nix) ];
@@ -17,8 +17,8 @@ pkgs.runCommandNoCC "nixpkgs-lib-tests" {
cacheDir=$TEST_ROOT/binary-cache
nix-store --init
- cd ${pkgs.path}/lib/tests
- bash ./modules.sh
+ cp -r ${../.} lib
+ bash lib/tests/modules.sh
touch $out
''