mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
rc-9front: tidy make and install phases
This commit is contained in:
parent
5c5bdd7b93
commit
437b7d71e5
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user