mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
20 lines
373 B
Bash
20 lines
373 B
Bash
source $stdenv/setup
|
|
|
|
echo $NIX_GCC
|
|
|
|
buildPhase() {
|
|
for i in bin/*; do
|
|
patchelf \
|
|
--set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
|
|
--set-rpath $libX11/lib:$libXext/lib:$libSM/lib:$(cat $NIX_GCC/nix-support/orig-gcc)/lib \
|
|
$i
|
|
done
|
|
}
|
|
|
|
installPhase() {
|
|
mkdir -p $out
|
|
cp -prvd * $out/
|
|
}
|
|
|
|
genericBuild
|