From cac360f6c632f3fa8be109fd8042529aa44ea2ea Mon Sep 17 00:00:00 2001 From: Acid Bong Date: Sat, 23 May 2026 21:43:15 +0300 Subject: [PATCH] fossil: move install flags to the dedicated attr, manual and completion - to `postInstall` also that `mkdir` was redundant, `make install` already does it --- pkgs/applications/version-management/fossil/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/version-management/fossil/default.nix b/pkgs/applications/version-management/fossil/default.nix index d39d347770e0..ed1a637a0e22 100644 --- a/pkgs/applications/version-management/fossil/default.nix +++ b/pkgs/applications/version-management/fossil/default.nix @@ -55,10 +55,9 @@ stdenv.mkDerivation (finalAttrs: { export USER=nonexistent-but-specified-user ''; - installPhase = '' - mkdir -p $out/bin - INSTALLDIR=$out/bin make install + installFlags = [ "INSTALLDIR=$(out)/bin" ]; + postInstall = '' installManPage fossil.1 installShellCompletion --name fossil.bash tools/fossil-autocomplete.bash '';