diff --git a/.hydra/jobsets.nix b/.hydra/jobsets.nix new file mode 100644 index 0000000..978407b --- /dev/null +++ b/.hydra/jobsets.nix @@ -0,0 +1,28 @@ +{ + nixpkgs, + ... +}: + +let + pkgs = import {}; + + jobs = rec { + tarball = + pkgs.releaseTools.sourceTarball { + name = "hello-tarball"; + src = ; + buildInputs = (with pkgs; [ gettext texLive texinfo ]); + }; + + build = + { system ? builtins.currentSystem }: + + let pkgs = import { inherit system; }; in + pkgs.releaseTools.nixBuild { + name = "hello"; + src = jobs.tarball; + configureFlags = [ "--disable-silent-rules" ]; + }; + }; +in + jobs diff --git a/.hydra/spec.json b/.hydra/spec.json new file mode 100644 index 0000000..03a4a89 --- /dev/null +++ b/.hydra/spec.json @@ -0,0 +1,40 @@ +{ + "enabled": 1, + "hidden": false, + "description": "ZSH flake", + "nixexprinput": "nixexpr", + "nixexprpath": ".hydra/jobsets.nix", + "checkinterval": 3600, + "schedulingshares": 100, + "enableemail": false, + "emailoverride": "", + "keepnr": 3, + "type": 0, + "inputs": { + "nixexpr": { + "value": "https://forgejo.stefka.eu/jiriks74/zsh.nix main", + "type": "git", + "emailresponsible": false + }, + "gitea_repo_name": { + "type": "string", + "value": "zsh.nix", + "emailresponsible": false + }, + "gitea_repo_owner": { + "type": "string", + "value": "jiriks74", + "emailresponsible": false + }, + "gitea_status_repo": { + "type": "string", + "value": "main", + "emailresponsible": false + }, + "gitea_http_url": { + "type": "string", + "value": "https://forgejo.stefka.eu/", + "emailresponsible": false + } + } +}