mirror of
https://codeberg.org/icewind/haze.git
synced 2026-10-01 08:44:09 +02:00
book ci
This commit is contained in:
parent
d615322449
commit
070972a316
5 changed files with 109 additions and 0 deletions
20
nix/book.nix
Normal file
20
nix/book.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
mdbook,
|
||||
stdenv,
|
||||
...
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
name = "haze-book";
|
||||
src = ../book;
|
||||
|
||||
nativeBuildInputs = [mdbook];
|
||||
|
||||
buildPhase = ''
|
||||
mdbook build
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r book/* $out/
|
||||
'';
|
||||
}
|
||||
|
|
@ -6,4 +6,5 @@ final: prev: {
|
|||
haze-image-php-82 = final.callPackage ./image/haze.nix {php = final.php82;};
|
||||
haze-image-php-81 = final.callPackage ./image/haze.nix {php = final.php81;};
|
||||
haze-image-php-80 = final.callPackage ./image/haze.nix {php = final.php80;};
|
||||
haze-book = final.callPackage ./book.nix {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue