chore(3p/nix/libexpr): Delete Bindings::sort

This function does nothing anymore since the attributes are always
in-order.
This commit is contained in:
Vincent Ambo 2020-05-22 03:35:07 +01:00
parent 986a8f6b75
commit 68e6e92a20
14 changed files with 6 additions and 54 deletions

View file

@ -96,8 +96,6 @@ bool createUserEnv(EvalState& state, DrvInfos& elems, const Path& profile,
}
vMeta.attrs->push_back(Attr(state.symbols.Create(j), v));
}
vMeta.attrs->sort();
v.attrs->sort();
if (!drvPath.empty()) {
references.insert(drvPath);
@ -122,7 +120,6 @@ bool createUserEnv(EvalState& state, DrvInfos& elems, const Path& profile,
mkString(*state.allocAttr(args, state.symbols.Create("manifest")),
manifestFile, {manifestFile});
args.attrs->push_back(Attr(state.symbols.Create("derivations"), &manifest));
args.attrs->sort();
mkApp(topLevel, envBuilder, args);
/* Evaluate it. */