Merge pull request #26497 from LnL7/fix-lib-tests

lib-tests: fix test for isStorePath
This commit is contained in:
Jörg Thalheim 2017-06-10 10:36:23 +01:00 committed by GitHub
commit 34d86e9d84

View file

@ -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