rc-9front: tidy make and install phases

This commit is contained in:
Jacob Moody 2023-08-06 17:14:19 -05:00
parent 5c5bdd7b93
commit 437b7d71e5

View File

@ -22,16 +22,17 @@ stdenv.mkDerivation {
nativeBuildInputs = [ byacc installShellFiles ];
enableParallelBuilding = true;
patches = [ ./path.patch ];
buildPhase = ''
make PREFIX=$out
'';
makeFlags = [ "PREFIX=$(out)" ];
installPhase = ''
runHook preInstall
install -Dm755 -t $out/bin/ rc
installManPage rc.1
mkdir -p $out/lib
install -m644 rcmain.unix $out/lib/rcmain
runHook postInstall
'';
passthru = {