mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
38e81b5640
plan9port ships with an INSTALL script. This commit modifies the builder to use the script instead of a custom build script. The commit also adds a patch to build fontsrv, which is otherwise omitted from the build.
18 lines
212 B
Bash
18 lines
212 B
Bash
source $stdenv/setup
|
|
|
|
tar xvfz $src
|
|
|
|
cd plan9
|
|
|
|
for p in $patches; do
|
|
echo "applying patch $p"
|
|
patch -p1 < $p
|
|
done
|
|
|
|
./INSTALL -b
|
|
./INSTALL -r $out/plan9
|
|
|
|
export PLAN9=$out/plan9
|
|
mkdir -p $PLAN9
|
|
cp -R * $PLAN9
|