fossil: move install flags to the dedicated attr, manual and completion - to postInstall

also that `mkdir` was redundant, `make install` already does it
This commit is contained in:
Acid Bong
2026-05-23 21:43:15 +03:00
parent 7453a72e90
commit cac360f6c6
@@ -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
'';