mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02: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 ];
|
nativeBuildInputs = [ byacc installShellFiles ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
patches = [ ./path.patch ];
|
patches = [ ./path.patch ];
|
||||||
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
buildPhase = ''
|
|
||||||
make PREFIX=$out
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
install -Dm755 -t $out/bin/ rc
|
install -Dm755 -t $out/bin/ rc
|
||||||
installManPage rc.1
|
installManPage rc.1
|
||||||
mkdir -p $out/lib
|
mkdir -p $out/lib
|
||||||
install -m644 rcmain.unix $out/lib/rcmain
|
install -m644 rcmain.unix $out/lib/rcmain
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
|
Loading…
Reference in a new issue