infrastructure/packages/docs.nix
Fabian Hauser fef2377502
All checks were successful
CI / build (push) Successful in 13m53s
Commit files for public release
2024-10-02 16:57:36 +03:00

16 lines
305 B
Nix

{ pkgs, self, ... }:
let
version = self.rev or self.dirtyRev;
in
pkgs.stdenv.mkDerivation {
inherit version;
name = "qois-docs-${version}";
buildInputs = with pkgs; [
mdbook
mdbook-cmdrun
mdbook-plantuml
plantuml
];
src = ../.;
buildPhase = "mdbook build --dest-dir $out";
}