summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2021-05-31 09:53:52 +0200
committerAntoine Eiche <lewo@abesis.fr>2021-05-31 09:53:52 +0200
commit2ca02f32c828c3b1dd27f3e290102b283edfdd26 (patch)
tree6917e2d7c56b00b7eff22fa2590c35e7a5fd47b1
parent190ac7ca60c6baed47c966d207874171ab112ce6 (diff)
hydra: provide nixpkgs to allow Niv to use pkgs.fetchzip
-rw-r--r--.hydra/declarative-jobsets.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/.hydra/declarative-jobsets.nix b/.hydra/declarative-jobsets.nix
index 7a09a07..b1d0628 100644
--- a/.hydra/declarative-jobsets.nix
+++ b/.hydra/declarative-jobsets.nix
@@ -17,6 +17,13 @@ let
keepnr = 1;
type = 0;
inputs = {
+ # This is only used to allow Niv to use pkgs.fetchzip which is
+ # required because of Hydra restricted evaluation mode.
+ nixpkgs = {
+ value = "https://github.com/NixOS/nixpkgs b6eefa48d8e10491e43c0c6155ac12b463f6fed3";
+ type = "git";
+ emailresponsible = false;
+ };
snm = {
type = "git";
value = "${info.target_repo_url} merge-requests/${info.iid}/head";
@@ -40,6 +47,13 @@ let
hidden = false;
type = 0;
inputs = {
+ # This is only used to allow Niv to use pkgs.fetchzip which is
+ # required because of Hydra restricted evaluation mode.
+ nixpkgs = {
+ value = "https://github.com/NixOS/nixpkgs b6eefa48d8e10491e43c0c6155ac12b463f6fed3";
+ type = "git";
+ emailresponsible = false;
+ };
snm = {
value = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver master";
type = "git";
@@ -80,6 +94,13 @@ let
hidden = false;
type = 0;
inputs = {
+ # This is only used to allow Niv to use pkgs.fetchzip which is
+ # required because of Hydra restricted evaluation mode.
+ nixpkgs = {
+ value = "https://github.com/NixOS/nixpkgs b6eefa48d8e10491e43c0c6155ac12b463f6fed3";
+ type = "git";
+ emailresponsible = false;
+ };
snm = {
value = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver nixos-20.09";
type = "git";