Skip to content

Commit

Permalink
Merge pull request #302 from nix-community/nix-bump
Browse files Browse the repository at this point in the history
Nix bump
  • Loading branch information
Mic92 authored May 9, 2024
2 parents 7b6640f + 97f58a9 commit 63154bd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .nix-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
unstable
latest
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
let
drvArgs = {
srcDir = self;
nix = if nixVersion == "unstable" then pkgs.nixUnstable else pkgs.nixVersions."nix_${nixVersion}";
nix = if nixVersion == "latest" then pkgs.nixVersions.latest else pkgs.nixVersions."nix_${nixVersion}";
};
in
{
Expand Down
2 changes: 1 addition & 1 deletion src/nix-eval-jobs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ struct Proc {
auto evalStore = myArgs.evalStoreUrl
? openStore(*myArgs.evalStoreUrl)
: openStore();
auto state = std::make_shared<EvalState>(myArgs.searchPath,
auto state = std::make_shared<EvalState>(myArgs.lookupPath,
evalStore);
Bindings &autoArgs = *myArgs.getAutoArgs(*state);
proc(ref<EvalState>(state), autoArgs, *to, *from, myArgs);
Expand Down
4 changes: 2 additions & 2 deletions src/worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@ void worker(nix::ref<nix::EvalState> state, nix::Bindings &autoArgs,
// = true;` for top-level attrset

for (auto &i :
v->attrs->lexicographicOrder(state->symbols)) {
v->attrs()->lexicographicOrder(state->symbols)) {
const std::string &name = state->symbols[i->name];
attrs.push_back(name);

if (name == "recurseForDerivations" &&
!args.forceRecurse) {
auto attrv =
v->attrs->get(state->sRecurseForDerivations);
v->attrs()->get(state->sRecurseForDerivations);
recurse = state->forceBool(
*attrv->value, attrv->pos,
"while evaluating recurseForDerivations");
Expand Down

0 comments on commit 63154bd

Please sign in to comment.