diff options
author | Linus Heckemann <git@sphalerite.org> | 2023-12-12 11:51:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 11:51:54 +0100 |
commit | b169e746157b7c9d7b2d792ba9ad50f4ee131682 (patch) | |
tree | 7cdf05aad626b4bae56d56a1f41a96e267203044 /pkgs/development/tools/misc | |
parent | d92daec27ee4662c8a4a10206d9bfc3d7e557f90 (diff) | |
parent | cd1eb081adb521260660e5193ab523c2904a4982 (diff) |
Merge pull request #273388 from NickCao/hydra-fix
hydra_unstable: add patch for fixing accessing git inputs on flakes
Diffstat (limited to 'pkgs/development/tools/misc')
-rw-r--r-- | pkgs/development/tools/misc/hydra/unstable.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/hydra/unstable.nix b/pkgs/development/tools/misc/hydra/unstable.nix index 544a0221737e4..8ee7c7f6fb929 100644 --- a/pkgs/development/tools/misc/hydra/unstable.nix +++ b/pkgs/development/tools/misc/hydra/unstable.nix @@ -43,6 +43,7 @@ , cacert , glibcLocales , fetchFromGitHub +, fetchpatch2 , nixosTests }: @@ -132,6 +133,17 @@ stdenv.mkDerivation rec { hash = "sha256-FjyMb5ZbPa2GLrRuFMUP/foKb0KvXFKThvgc9faFIw8="; }; + patches = [ + # hydra-eval-jobs: don't use restrict-eval for Flakes + # https://github.com/NixOS/hydra/pull/1257 + # should be removed when https://github.com/NixOS/nix/pull/9547 + # lands in the nix version used by hydra + (fetchpatch2 { + url = "https://github.com/NixOS/hydra/commit/9370b0ef977bff7e84ac07a81a0e31e75989276b.patch"; + hash = "sha256-BRenC0lpWPgzfx42MPJBQ9VBamh5hZXuuVe6TXYKkdE="; + }) + ]; + buildInputs = [ unzip libpqxx |