3
0
Fork 0
forked from mirrors/nixpkgs

lib-tests: fix test for isStorePath

This commit is contained in:
Daiderd Jordan 2017-06-09 23:30:10 +02:00
parent a66a9ae8e8
commit cfe2b12fe4
No known key found for this signature in database
GPG key ID: D02435D05B810C96

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