Merge pull request #9776 from KoviRobi/plan9port-fix-interpreter-paths
plan9port: fix interpreter paths, add perl
This commit is contained in:
commit
b29e426a62
@ -1,6 +1,7 @@
|
||||
source $stdenv/setup
|
||||
|
||||
export PLAN9=$out/plan9
|
||||
export PLAN9_TARGET=$PLAN9
|
||||
|
||||
configurePhase()
|
||||
{
|
||||
@ -15,12 +16,12 @@ configurePhase()
|
||||
buildPhase()
|
||||
{
|
||||
mkdir -p $PLAN9
|
||||
./INSTALL -b $PLAN9
|
||||
./INSTALL -b
|
||||
}
|
||||
|
||||
installPhase()
|
||||
{
|
||||
./INSTALL -c -r $PLAN9
|
||||
./INSTALL -c
|
||||
# Copy sources
|
||||
cp -R * $PLAN9
|
||||
|
||||
|
@ -1,7 +1,9 @@
|
||||
{stdenv, fetchgit, which, libX11, libXt, fontconfig
|
||||
, xproto ? null
|
||||
, xextproto ? null
|
||||
, libXext ? null }:
|
||||
, libXext ? null
|
||||
# For building web manuals
|
||||
, perl ? null }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "plan9port-2015-06-29";
|
||||
@ -23,7 +25,17 @@ stdenv.mkDerivation rec {
|
||||
builder = ./builder.sh;
|
||||
|
||||
NIX_LDFLAGS="-lgcc_s";
|
||||
buildInputs = stdenv.lib.optionals (!stdenv.isDarwin) [ which libX11 fontconfig xproto libXt xextproto libXext ];
|
||||
buildInputs = stdenv.lib.optionals
|
||||
(!stdenv.isDarwin)
|
||||
[ which
|
||||
perl
|
||||
libX11
|
||||
fontconfig
|
||||
xproto
|
||||
libXt
|
||||
xextproto
|
||||
libXext
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user