mirror of
https://codeberg.org/icewind/haze.git
synced 2026-10-01 16:54:08 +02:00
20 lines
237 B
Nix
20 lines
237 B
Nix
{
|
|
mdbook,
|
|
stdenv,
|
|
...
|
|
}:
|
|
stdenv.mkDerivation {
|
|
name = "haze-book";
|
|
src = ../book;
|
|
|
|
nativeBuildInputs = [mdbook];
|
|
|
|
buildPhase = ''
|
|
mdbook build
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp -r book/* $out/
|
|
'';
|
|
}
|