aboutsummaryrefslogtreecommitdiff
path: root/hydra/jobsets.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-20 05:48:01 +0900
committersefidel <contact@sefidel.net>2024-02-20 06:09:18 +0900
commit7fe334c0f881b27db617aedaf233f6ae58d72278 (patch)
tree948c5e2f1493c6e7090da39174d2699a81d7a624 /hydra/jobsets.nix
downloadnixpkgs-exotic-7fe334c0f881b27db617aedaf233f6ae58d72278.zip
project: Initial commit
Diffstat (limited to 'hydra/jobsets.nix')
-rw-r--r--hydra/jobsets.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/hydra/jobsets.nix b/hydra/jobsets.nix
new file mode 100644
index 0000000..f426873
--- /dev/null
+++ b/hydra/jobsets.nix
@@ -0,0 +1,34 @@
+{ nixpkgs, ... }:
+
+let
+ pkgs = import nixpkgs {};
+
+ jobsets = {
+ main = {
+ enabled = 1;
+ hidden = false;
+ description = "main branch";
+ nixexprinput = "nixpkgs-exotic";
+ nixexprpath = "hydra/default.nix";
+ checkinterval = 300;
+ schedulingshares = 100;
+ enableemail = false;
+ emailoverride = "";
+ keepnr = 1;
+ inputs = {
+ nixpkgs-exotic = {
+ type = "git";
+ value = "https://git.exotic.sh/nixpkgs-exotic main";
+ emailresponsible = false;
+ };
+ nixpkgs = {
+ type = "git";
+ value = "https://github.com/NixOS/nixpkgs.git";
+ emailresponsible = false;
+ };
+ };
+ };
+ };
+in {
+ jobsets = pkgs.writeText "jobsets.json" (builtins.toJSON jobsets);
+}