mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2025-04-07 19:02:50 +00:00
and update 2 other nix references Signed-off-by: strawberry <strawberry@puppygock.gay> Signed-off-by: morguldir <morguldir@protonmail.com>
36 lines
539 B
Nix
36 lines
539 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"
|
|
"CODE_OF_CONDUCT.md"
|
|
"CONTRIBUTING.md"
|
|
"README.md"
|
|
"development.md"
|
|
"debian/conduwuit.service"
|
|
"debian/README.md"
|
|
"arch/conduwuit.service"
|
|
"docs"
|
|
"theme"
|
|
];
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
mdbook
|
|
];
|
|
|
|
buildPhase = ''
|
|
mdbook build -d $out
|
|
'';
|
|
}
|