plan9port: fix destination path in sources; add myself as a maintainer

This commit is contained in:
Siarhei Zirukin 2014-12-17 23:36:50 +01:00
parent 3938dc3c21
commit 2c8ff5fdb7
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;
};