diff --git a/nix/ptsd.nix b/nix/ptsd.nix index d425a6f..620a042 100644 --- a/nix/ptsd.nix +++ b/nix/ptsd.nix @@ -18,6 +18,11 @@ rustPlatform.buildRustPackage { scdoc ]; + postInstall = '' + mkdir -p $out/share/man/man5 + scdoc < docs/ptsd.json.5.scd > $out/share/man/man5/ptsd.json.5 + ''; + buildInputs = [] ++ lib.lists.optionals stdenv.isDarwin (with darwin.apple_sdk; [