Skip to content

Commit

Permalink
Fix appending features
Browse files Browse the repository at this point in the history
Otherwise we get nested arrays!
  • Loading branch information
Ericson2314 committed Feb 2, 2025
1 parent 2312356 commit 1b370d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/machines.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ StoreReference Machine::completeStoreReference() const
if (!fs.is_array()) fs = nlohmann::json::array();
auto features = supportedFeatures;
features.insert(supportedFeatures.begin(), supportedFeatures.end());
fs += features;
for (auto & feat : features) fs += feat;
}

return storeUri;
Expand Down

0 comments on commit 1b370d9

Please sign in to comment.