36c3-everything: init

This commit is contained in:
Astro 2019-12-23 21:27:31 +01:00
parent 0249b57639
commit d4cdab251c
2 changed files with 30 additions and 0 deletions

21
c3-everything.nix Normal file
View File

@ -0,0 +1,21 @@
{ pkgs ? import <nixpkgs> {},
schedule ? <schedule>
}:
with pkgs;
{
"36c3-everything" = lib.hydraJob ((
import <html> {
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
'';
}));
}

View File

@ -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 );