Skip to content

Commit e8da68a

Browse files
authored
Merge pull request #225 from DeterminateSystems/backport-14189
Backport changes from upstream NixOS#14189
2 parents 592e828 + e2a1944 commit e8da68a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/libstore/derivation-options.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ DerivationOptions::fromStructuredAttrs(const StringMap & env, const StructuredAt
232232
for (auto & [key, value] : getObject(*e)) {
233233
StringSet ss;
234234
flatten(value, ss);
235-
ret.insert_or_assign(key, ss);
235+
ret.insert_or_assign(key, std::move(ss));
236236
}
237237
} else {
238238
auto s = getOr(env, "exportReferencesGraph", "");

tests/functional/structured-attrs.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
source common.sh
44

5-
# 27ce722638 required some incompatible changes to the nix file, so skip this
6-
# tests for the older versions
7-
requireDaemonNewerThan "2.4pre20210712"
5+
# https://github.com/NixOS/nix/pull/14189
6+
requireDaemonNewerThan "2.33"
87

98
clearStoreIfPossible
109

0 commit comments

Comments
 (0)