36c3-everything: init
This commit is contained in:
parent
0249b57639
commit
d4cdab251c
21
c3-everything.nix
Normal file
21
c3-everything.nix
Normal 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
|
||||
'';
|
||||
}));
|
||||
}
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue
Block a user