Skip to content

Commit 94eaad2

Browse files
authored
Merge pull request #1528 from NixOS/nix-2.31
Bump to nix/nix-eval-jobs 2.31
2 parents 3059dc1 + a499063 commit 94eaad2

File tree

5 files changed

+15
-12
lines changed

5 files changed

+15
-12
lines changed

flake.lock

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05-small";
55

66
inputs.nix = {
7-
url = "github:NixOS/nix/2.30-maintenance";
7+
url = "github:NixOS/nix/2.31-maintenance";
88
# We want to control the deps precisely
99
flake = false;
1010
};
1111

1212
inputs.nix-eval-jobs = {
13-
url = "github:nix-community/nix-eval-jobs";
13+
url = "github:nix-community/nix-eval-jobs/v2.31.0";
1414
# We want to control the deps precisely
1515
flake = false;
1616
};

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project('hydra', 'cpp',
44
default_options: [
55
'debug=true',
66
'optimization=2',
7-
'cpp_std=c++20',
7+
'cpp_std=c++23',
88
],
99
)
1010

src/hydra-queue-runner/queue-monitor.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,10 +488,11 @@ Step::ptr State::createStep(ref<Store> destStore,
488488
runnable while step->created == false. */
489489
step->drv = std::make_unique<Derivation>(localStore->readDerivation(drvPath));
490490
{
491-
auto parsedOpt = StructuredAttrs::tryParse(step->drv->env);
492491
try {
493492
step->drvOptions = std::make_unique<DerivationOptions>(
494-
DerivationOptions::fromStructuredAttrs(step->drv->env, parsedOpt ? &*parsedOpt : nullptr));
493+
DerivationOptions::fromStructuredAttrs(
494+
step->drv->env,
495+
step->drv->structuredAttrs ? &*step->drv->structuredAttrs : nullptr));
495496
} catch (Error & e) {
496497
e.addTrace({}, "while parsing derivation '%s'", localStore->printStorePath(drvPath));
497498
throw;

src/hydra-queue-runner/state.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include <nix/store/serve-protocol-impl.hh>
2828
#include <nix/store/serve-protocol-connection.hh>
2929
#include <nix/store/machines.hh>
30+
#include <nix/store/globals.hh>
3031

3132

3233
typedef unsigned int BuildID;

0 commit comments

Comments
 (0)