diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-06-10 10:36:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-10 10:36:23 +0100 |
commit | 34d86e9d841d8fcf6f786a1573c1698243d92b60 (patch) | |
tree | 1083854c350c62dec645995e300ca8080b0dd5a5 /lib | |
parent | 800d525ac444d9793243690ed1b76f993e6ceb01 (diff) | |
parent | cfe2b12fe465664b79bce444f8613f02d1756365 (diff) | |
download | nixlib-34d86e9d841d8fcf6f786a1573c1698243d92b60.tar nixlib-34d86e9d841d8fcf6f786a1573c1698243d92b60.tar.gz nixlib-34d86e9d841d8fcf6f786a1573c1698243d92b60.tar.bz2 nixlib-34d86e9d841d8fcf6f786a1573c1698243d92b60.tar.lz nixlib-34d86e9d841d8fcf6f786a1573c1698243d92b60.tar.xz nixlib-34d86e9d841d8fcf6f786a1573c1698243d92b60.tar.zst nixlib-34d86e9d841d8fcf6f786a1573c1698243d92b60.zip |
Merge pull request #26497 from LnL7/fix-lib-tests
lib-tests: fix test for isStorePath
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tests/misc.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 |