aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPuck Meerburg <puck@puckipedia.com>2024-04-21 15:37:59 +0000
committerGerrit Code Review <gerrit@lix>2024-04-21 15:37:59 +0000
commitc8c838381d8e76450ffd57b778bb28217b32084d (patch)
treee0c2f5496e26b0cef157b3b43795b55fa1727ad9 /src
parent272c2ff15f40a0979c2509261e4843090cdddb92 (diff)
parentc1319831fbf26131c0a973b705b9bba7f067a601 (diff)
Merge "Fix exportReferencesGraph when given store subpath" into main
Diffstat (limited to 'src')
-rw-r--r--src/libstore/parsed-derivations.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/parsed-derivations.cc b/src/libstore/parsed-derivations.cc
index 1d900c272..992a79c6e 100644
--- a/src/libstore/parsed-derivations.cc
+++ b/src/libstore/parsed-derivations.cc
@@ -151,7 +151,7 @@ std::optional<nlohmann::json> ParsedDerivation::prepareStructuredAttrs(Store & s
for (auto i = e->begin(); i != e->end(); ++i) {
StorePathSet storePaths;
for (auto & p : *i)
- storePaths.insert(store.parseStorePath(p.get<std::string>()));
+ storePaths.insert(store.toStorePath(p.get<std::string>()).first);
json[i.key()] = store.pathInfoToJSON(
store.exportReferences(storePaths, inputPaths), false, true);
}