diff --git a/c3-everything.nix b/c3-everything.nix new file mode 100644 index 0000000..9de4b1e --- /dev/null +++ b/c3-everything.nix @@ -0,0 +1,21 @@ +{ pkgs ? import {}, + schedule ? +}: +with pkgs; +{ + "36c3-everything" = lib.hydraJob (( + import { + inherit pkgs schedule; + } + ).overrideAttrs (oldAttrs: { + installPhase = '' + ${oldAttrs.installPhase} + + mkdir $out/nix-support + for f in $out/*.html ; do + d=`basename $f|sed -e s/.html//` + echo doc Day$d $f >> $out/nix-support/hydra-build-products + done + ''; + })); +} diff --git a/jobsets.nix b/jobsets.nix index 2608180..7b84229 100644 --- a/jobsets.nix +++ b/jobsets.nix @@ -166,6 +166,15 @@ let nixpkgs = "https://github.com/NixOS/nixpkgs.git nixos-unstable"; }; }; + + 36c3-everything = mkJobset { + description = "All 36C3 events in HTML"; + nixexprpath = "c3-everything.nix"; + gitUrls = { + html = "https://github.com/c3d2/36c3-everything.git"; + schedule = "https://github.com/voc/36C3_schedule.git"; + }; + }; }; jobsetsJson = pkgs.writeText "jobsets.json" (builtins.toJSON jobsets );