forked from mirrors/nixpkgs
lib-tests: fix test for isStorePath
This commit is contained in:
parent
a66a9ae8e8
commit
cfe2b12fe4
|
@ -90,7 +90,7 @@ runTests {
|
||||||
testIsStorePath = {
|
testIsStorePath = {
|
||||||
expr =
|
expr =
|
||||||
let goodPath =
|
let goodPath =
|
||||||
"/nix/store/d945ibfx9x185xf04b890y4f9g3cbb63-python-2.7.11";
|
"${builtins.storeDir}/d945ibfx9x185xf04b890y4f9g3cbb63-python-2.7.11";
|
||||||
in {
|
in {
|
||||||
storePath = isStorePath goodPath;
|
storePath = isStorePath goodPath;
|
||||||
storePathAppendix = isStorePath
|
storePathAppendix = isStorePath
|
||||||
|
|
Loading…
Reference in a new issue