Merge pull request #273388 from NickCao/hydra-fix

hydra_unstable: add patch for fixing accessing git inputs on flakes
This commit is contained in:
Linus Heckemann 2023-12-12 11:51:54 +01:00 committed by GitHub
commit b169e74615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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