Compare commits

..

2 Commits

Author SHA1 Message Date
Simon Bruder 84a16cbf3d
Add hydra build
continuous-integration/drone/push Build is passing Details
2021-05-13 14:09:26 +02:00
Simon Bruder 3684c35267
Convert to flake 2021-05-13 14:09:26 +02:00
1 changed files with 7 additions and 3 deletions

View File

@ -166,6 +166,7 @@
buildPhase = ''
mkdocs build -d $out
mkdir -p $out/nix-support
echo "doc wiki $out" >> $out/nix-support/hydra-build-products
'';
@ -184,9 +185,12 @@
defaultPackage = packages.wiki;
apps = {
serve = pkgs.writeShellScriptBin "serve" ''
${pkgs.miniserve}/bin/miniserve --index index.html ${packages.wiki}
'';
serve = {
type = "app";
program = toString (pkgs.writeShellScriptBin "serve" ''
${pkgs.miniserve}/bin/miniserve --index index.html ${packages.wiki}
'');
};
};
# My hydra only has x86_64-linux builders