From a8d28d2cbc3371e2badc188c08b70fdfd05fb142 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 4 Apr 2022 15:05:39 +0800 Subject: [PATCH] hydra: add msys2 type --- nixbld-etc-nixos/configuration.nix | 1 + nixbld-etc-nixos/hydra-msys2.patch | 122 +++++++++++++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 nixbld-etc-nixos/hydra-msys2.patch diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 248c48b1..672aa8eb 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -480,6 +480,7 @@ in hydra-unstable = super.hydra-unstable.overrideAttrs(oa: { patches = oa.patches or [] ++ [ ./hydra-conda.patch + ./hydra-msys2.patch ./hydra-restrictdist.patch ./hydra-hack-allowed-uris.patch # work around https://github.com/NixOS/nix/issues/5039 ]; diff --git a/nixbld-etc-nixos/hydra-msys2.patch b/nixbld-etc-nixos/hydra-msys2.patch new file mode 100644 index 00000000..a1d61f7d --- /dev/null +++ b/nixbld-etc-nixos/hydra-msys2.patch @@ -0,0 +1,122 @@ +diff --git a/src/root/product-list.tt b/src/root/product-list.tt +index 4d545b3e..6049c2a6 100644 +--- a/src/root/product-list.tt ++++ b/src/root/product-list.tt +@@ -162,6 +162,11 @@ + ISO + + ISO-9660 CD/DVD image ++ [% CASE "msys2" %] ++ ++ ISO ++ ++ MSYS2 package + [% CASE "binary-dist" %] + + Binary distribution +diff --git a/src/root/static/images/msys2.svg b/src/root/static/images/msys2.svg +new file mode 100644 +index 00000000..46baff50 +--- /dev/null ++++ b/src/root/static/images/msys2.svg +@@ -0,0 +1,100 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ image/svg+xml ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++