From cfe2b12fe465664b79bce444f8613f02d1756365 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Fri, 9 Jun 2017 23:30:10 +0200 Subject: lib-tests: fix test for isStorePath --- lib/tests/misc.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/tests/misc.nix b/lib/tests/misc.nix index f55f3d712727..22557bdfeefb 100644 --- a/lib/tests/misc.nix +++ b/lib/tests/misc.nix @@ -90,7 +90,7 @@ runTests { testIsStorePath = { expr = let goodPath = - "/nix/store/d945ibfx9x185xf04b890y4f9g3cbb63-python-2.7.11"; + "${builtins.storeDir}/d945ibfx9x185xf04b890y4f9g3cbb63-python-2.7.11"; in { storePath = isStorePath goodPath; storePathAppendix = isStorePath -- cgit 1.4.1