lib/tests/misc.nix: Don't make a copy on Nixpkgs

This commit is contained in:
Eelco Dolstra 2020-02-10 16:21:04 +01:00
parent a274da605d
commit 5c389f84d4

View File

@ -2,7 +2,7 @@
pkgs.runCommandNoCC "nixpkgs-lib-tests" {
buildInputs = [ pkgs.nix (import ./check-eval.nix) ];
NIX_PATH="nixpkgs=${pkgs.path}";
NIX_PATH = "nixpkgs=${toString pkgs.path}";
} ''
datadir="${pkgs.nix}/share"
export TEST_ROOT=$(pwd)/test-tmp