Add user documentation
Add a manpage for ca-store. Additionally, modify the 'file verify' command to behave exactly as the manpage mentions. This commit required me to break a cycle caused by having CAStore.Type.Text imported by CAStore.Type.
This commit is contained in:
parent
1849baa588
commit
d2016d1863
9 changed files with 119 additions and 32 deletions
17
flake.nix
17
flake.nix
|
|
@ -17,11 +17,26 @@
|
|||
);
|
||||
|
||||
overlays.default = final: prev: {
|
||||
ca-store = final.haskellPackages.developPackage {
|
||||
ca-store = prev.symlinkJoin {
|
||||
pname = "ca-store";
|
||||
version = final.ca-store-bin.version;
|
||||
paths = [ final.ca-store-bin final.ca-store-man ];
|
||||
};
|
||||
ca-store-bin = prev.haskellPackages.developPackage {
|
||||
root = ./.;
|
||||
name = "ca-store";
|
||||
withHoogle = false;
|
||||
};
|
||||
ca-store-man = prev.stdenv.mkDerivation {
|
||||
pname = "ca-store-man";
|
||||
version = "0.0.1";
|
||||
src = ./.;
|
||||
nativeBuildInputs = [ final.scdoc final.installShellFiles ];
|
||||
buildCommand = ''
|
||||
scdoc < "$src/doc/man/ca-store.1.scd" > ./ca-store.1
|
||||
installManPage ./ca-store.1
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue