From 2ca02f32c828c3b1dd27f3e290102b283edfdd26 Mon Sep 17 00:00:00 2001 From: Antoine Eiche Date: Mon, 31 May 2021 09:53:52 +0200 Subject: [PATCH] hydra: provide nixpkgs to allow Niv to use pkgs.fetchzip --- .hydra/declarative-jobsets.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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";