nix-config/modules/scripts/build.nix
Oliver Davies 75ebf874f0
All checks were successful
/ check (push) Successful in 1m51s
Add build and build-adoc scripts
2025-09-04 21:16:52 +01:00

16 lines
321 B
Nix

{
flake.modules.homeManager.base =
{ pkgs, ... }:
{
home.packages = [
(pkgs.writeShellApplication {
name = "build";
text = ''
test -r book/index.adoc && exec build-adoc "$@"
test -x build && exec ./build "$@"
'';
})
];
};
}