summary refs log tree commit diff
path: root/lib/tests/misc.nix
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-06-09 23:30:10 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-06-09 23:38:08 +0200
commitcfe2b12fe465664b79bce444f8613f02d1756365 (patch)
tree315d31a59fd6cbcc74a76a6aada11ed5a8a38297 /lib/tests/misc.nix
parenta66a9ae8e8ef037265cbc7a20ee6df15e8fc5409 (diff)
downloadnixpkgs-cfe2b12fe465664b79bce444f8613f02d1756365.tar
nixpkgs-cfe2b12fe465664b79bce444f8613f02d1756365.tar.gz
nixpkgs-cfe2b12fe465664b79bce444f8613f02d1756365.tar.bz2
nixpkgs-cfe2b12fe465664b79bce444f8613f02d1756365.tar.lz
nixpkgs-cfe2b12fe465664b79bce444f8613f02d1756365.tar.xz
nixpkgs-cfe2b12fe465664b79bce444f8613f02d1756365.tar.zst
nixpkgs-cfe2b12fe465664b79bce444f8613f02d1756365.zip
lib-tests: fix test for isStorePath
Diffstat (limited to 'lib/tests/misc.nix')
-rw-r--r--lib/tests/misc.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/misc.nix b/lib/tests/misc.nix
index f55f3d71272..22557bdfeef 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