primops storeDir test uses settings.nixStore

This commit is contained in:
mupdt 2022-12-21 07:01:57 -05:00
parent 1437582ccd
commit a33e45b60b

View file

@ -604,7 +604,7 @@ namespace nix {
TEST_F(PrimOpTest, storeDir) {
auto v = eval("builtins.storeDir");
ASSERT_THAT(v, IsStringEq("/nix/store"));
ASSERT_THAT(v, IsStringEq(settings.nixStore));
}
TEST_F(PrimOpTest, nixVersion) {