pijul_org / manual
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ pkgs?(import <nixpkgs> {}), rust?(pkgs.rust), ... }:
pkgs.stdenv.mkDerivation {
name = "pijul-manual";
src = ./.;
buildInputs = [ pkgs.mdbook ];
buildPhase = ''
mdbook build
'';
installPhase = ''
mkdir $out
cp -R book/* $out #*/
'';
}