Merge pull request #5375 from ftrvxmtrx/master

plan9port: fix destination path in sources; add myself as a maintainer
This commit is contained in:
vbgl 2014-12-18 09:52:59 +01:00
commit 78ae54bf49
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,3 @@
set -e
source $stdenv/setup
tar xvfz $src
@ -13,8 +12,12 @@ for p in $patches; do
patch -p1 < $p
done
./INSTALL -r $out/plan9
export PLAN9=$out/plan9
mkdir -p $PLAN9
for f in `grep -l -r /usr/local/plan9`; do
sed "s,/usr/local/plan9,${PLAN9},g" -i $f
done
./INSTALL -r $PLAN9
cp -R * $PLAN9

View File

@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
homepage = "http://swtch.com/plan9port/";
description = "Plan 9 from User Space";
license = licenses.lpl-102;
maintainers = [ stdenv.lib.maintainers.ftrvxmtrx ];
platforms = platforms.unix;
};