nawk: uses installBin to install the binary

This commit is contained in:
Anderson Torres 2024-08-23 23:05:28 -03:00
parent 32897dce90
commit 618cffa8e1

View File

@ -34,7 +34,8 @@ stdenv.mkDerivation (finalAttrs: {
installPhase = ''
runHook preInstall
install -Dm755 a.out "$out/bin/nawk"
mv a.out nawk
installBin nawk
mv awk.1 nawk.1
installManPage nawk.1
runHook postInstall