aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-12-22 16:18:48 +0100
committerGitHub <noreply@github.com>2022-12-22 16:18:48 +0100
commitc9eee5a84d91e974b09623e01d12586e7026f1ce (patch)
tree2da125c1764d66104f8a7d6ef674b263096c1ffa
parentb1223e1b621ed4ad11562f0ef65c65d1c78c5e4b (diff)
parenta33e45b60be5d8dc73bd800defee364d90a8d738 (diff)
Merge pull request #7493 from mupdt/primops-storeDir-test-non-standard-path
primops `storeDir` test uses `settings.nixStore`
-rw-r--r--src/libexpr/tests/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/tests/primops.cc b/src/libexpr/tests/primops.cc
index 49fbc5e98..bcdc7086b 100644
--- a/src/libexpr/tests/primops.cc
+++ b/src/libexpr/tests/primops.cc
@@ -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) {