diff --git a/jobsets.nix b/jobsets.nix index 65431e7..a832e1d 100644 --- a/jobsets.nix +++ b/jobsets.nix @@ -45,6 +45,14 @@ let }; }; + mateamt = mkJobset { + description = "Mateamt by nek0"; + nixexprpath = "mateamt.nix"; + gitUrls = { + mateamt = "https://github.com/nek0/mateamt.git master 1"; + }; + }; + tigger = mkJobset { description = "XMPP MUC bot"; nixexprpath = "tigger.nix"; diff --git a/mateamt.nix b/mateamt.nix new file mode 100644 index 0000000..c71a130 --- /dev/null +++ b/mateamt.nix @@ -0,0 +1,19 @@ +{ pkgs ? import {} +}: +with pkgs; +let + mateamt = haskellPackages.callPackage ; + ghcVersions = + builtins.filter (p: + p == "ghcHEAD" || builtins.match "ghc[[:digit:]]+" p != null + ) (builtins.attrNames haskell.packages); +in + +builtins.listToAttrs + (map (ghcVersion: { + name = "mateamt-${ghcVersion}"; + value = lib.hydraJob (mateamt { + compiler = ghcVersion; + nixpkgs = pkgs; + }); + }) ghcVersions)