diff --git a/.hydra/jobsets.nix b/.hydra/jobsets.nix new file mode 100644 index 0000000..653a573 --- /dev/null +++ b/.hydra/jobsets.nix @@ -0,0 +1,23 @@ +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..775b137 --- /dev/null +++ b/.hydra/spec.json @@ -0,0 +1,22 @@ +{ + "nixpkgs": { + "enabled": 1, + "hidden": false, + "description": "Nixpkgs", + "nixexprinput": "nixpkgs", + "nixexprpath": "pkgs/top-level/release.nix", + "checkinterval": 300, + "schedulingshares": 100, + "enableemail": false, + "enable_dynamic_run_command": false, + "emailoverride": "", + "keepnr": 3, + "inputs": { + "nixpkgs": { + "type": "git", + "value": "git://github.com/NixOS/nixpkgs.git master", + "emailresponsible": false + } + } + } +}