From f3ac23f3d32f018490d0bd04abd3510a7022bef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Niemier?= <~@hauleth.dev> Date: Wed, 6 Mar 2024 00:23:27 +0100 Subject: [PATCH] chore: use xtask for generating manpages --- nix/ptsd.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nix/ptsd.nix b/nix/ptsd.nix index 7e9a9dd..ed63a93 100644 --- a/nix/ptsd.nix +++ b/nix/ptsd.nix @@ -23,8 +23,7 @@ rustPlatform.buildRustPackage { ]; postInstall = '' - mkdir -p $out/share/man/man5 - scdoc < docs/ptsd.json.5.scd > $out/share/man/man5/ptsd.json.5 + OUT=$out/man cargo xtask ''; buildInputs = -- 2.51.2