mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
15 lines
293 B
Bash
Executable File
15 lines
293 B
Bash
Executable File
source $stdenv/setup
|
|
|
|
tar xf $src
|
|
cd */
|
|
tarballdir=$(pwd)
|
|
for i in *.tar; do tar xvf $i; done
|
|
echo "Deploying binaries.."
|
|
mkdir $out
|
|
cd $out
|
|
for i in $tarballdir/*.gz; do tar xvf $i; done
|
|
echo 'Creating ppc* symlink..'
|
|
for i in $out/lib/fpc/*/ppc*; do
|
|
ln -fs $i $out/bin/$(basename $i)
|
|
done
|