hydra: provide nixpkgs to allow Niv to use pkgs.fetchzip

This commit is contained in:
Antoine Eiche 2021-05-31 09:53:52 +02:00
parent 190ac7ca60
commit 2ca02f32c8
1 changed files with 21 additions and 0 deletions

View File

@ -17,6 +17,13 @@ let
keepnr = 1; keepnr = 1;
type = 0; type = 0;
inputs = { 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 = { snm = {
type = "git"; type = "git";
value = "${info.target_repo_url} merge-requests/${info.iid}/head"; value = "${info.target_repo_url} merge-requests/${info.iid}/head";
@ -40,6 +47,13 @@ let
hidden = false; hidden = false;
type = 0; type = 0;
inputs = { 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 = { snm = {
value = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver master"; value = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver master";
type = "git"; type = "git";
@ -80,6 +94,13 @@ let
hidden = false; hidden = false;
type = 0; type = 0;
inputs = { 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 = { snm = {
value = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver nixos-20.09"; value = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver nixos-20.09";
type = "git"; type = "git";