From 68e6e92a20b8ee01de3b89e72fc68517fea6f70c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 22 May 2020 03:35:07 +0100 Subject: chore(3p/nix/libexpr): Delete Bindings::sort This function does nothing anymore since the attributes are always in-order. --- third_party/nix/src/nix/installables.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'third_party/nix/src/nix/installables.cc') diff --git a/third_party/nix/src/nix/installables.cc b/third_party/nix/src/nix/installables.cc index 59dfc1b1ac..38a3f0c8ec 100644 --- a/third_party/nix/src/nix/installables.cc +++ b/third_party/nix/src/nix/installables.cc @@ -33,7 +33,6 @@ Value* SourceExprCommand::getSourceExpr(EvalState& state) { if (!file.empty()) { state.evalFile(lookupFileArg(state, file), *vSourceExpr); - } else { /* Construct the installation source from $NIX_PATH. */ @@ -73,8 +72,6 @@ Value* SourceExprCommand::getSourceExpr(EvalState& state) { addEntry(i.first); } } - - vSourceExpr->attrs->sort(); } return vSourceExpr; -- cgit 1.4.1