Skip to content

Commit

Permalink
Merge pull request NixOS#1354 from NixOS/nix-2.20
Browse files Browse the repository at this point in the history
Nix 2.20
  • Loading branch information
Ericson2314 committed Jan 30, 2024
2 parents 838648c + 14aabc1 commit c1bd50a
Show file tree
Hide file tree
Showing 10 changed files with 152 additions and 244 deletions.
34 changes: 17 additions & 17 deletions flake.lock

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

4 changes: 2 additions & 2 deletions flake.nix
@@ -1,8 +1,8 @@
{
description = "A Nix-based continuous build system";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
inputs.nix.url = "github:NixOS/nix/2.19-maintenance";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05-small";
inputs.nix.url = "github:NixOS/nix/2.20-maintenance";
inputs.nix.inputs.nixpkgs.follows = "nixpkgs";

# TODO get rid of this once https://github.com/NixOS/nix/pull/9546 is
Expand Down
4 changes: 2 additions & 2 deletions src/hydra-eval-jobs/hydra-eval-jobs.cc
Expand Up @@ -89,7 +89,7 @@ struct MyArgs : MixEvalArgs, MixCommonArgs, RootArgs

static MyArgs myArgs;

static std::string queryMetaStrings(EvalState & state, DrvInfo & drv, const std::string & name, const std::string & subAttribute)
static std::string queryMetaStrings(EvalState & state, PackageInfo & drv, const std::string & name, const std::string & subAttribute)
{
Strings res;
std::function<void(Value & v)> rec;
Expand Down Expand Up @@ -181,7 +181,7 @@ static void worker(
// CA derivations do not have static output paths, so we
// have to defensively not query output paths in case we
// encounter one.
DrvInfo::Outputs outputs = drv->queryOutputs(
PackageInfo::Outputs outputs = drv->queryOutputs(
!experimentalFeatureSettings.isEnabled(Xp::CaDerivations));

if (drv->querySystem() == "unknown")
Expand Down

0 comments on commit c1bd50a

Please sign in to comment.