mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2024-11-30 13:43:30 +00:00
f40a3ea4a6
Signed-off-by: strawberry <strawberry@puppygock.gay>
35 lines
489 B
Nix
35 lines
489 B
Nix
{ inputs
|
|
|
|
# Dependencies
|
|
, main
|
|
, mdbook
|
|
, stdenv
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
inherit (main) pname version;
|
|
|
|
src = inputs.nix-filter {
|
|
root = inputs.self;
|
|
include = [
|
|
"book.toml"
|
|
"conduwuit-example.toml"
|
|
"CONTRIBUTING.md"
|
|
"README.md"
|
|
"debian/conduwuit.service"
|
|
"debian/README.md"
|
|
"arch/conduwuit.service"
|
|
"docs"
|
|
"theme"
|
|
];
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
mdbook
|
|
];
|
|
|
|
buildPhase = ''
|
|
mdbook build -d $out
|
|
'';
|
|
}
|