librectf-rust/docs/default.nix

13 lines
198 B
Nix

{ stdenvNoCC, mdbook }:
stdenvNoCC.mkDerivation {
name = "librectf-docs";
src = ./.;
nativeBuildInputs = [ mdbook ];
installPhase = ''
mkdir -p $out
mdbook build -d $out .
'';
}