2006-03-03 20:25:06 +01:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
buildPhase() {
|
2006-03-03 23:31:16 +01:00
|
|
|
for i in bin/*; do
|
|
|
|
patchelf \
|
2006-10-27 14:43:32 +02:00
|
|
|
--set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
|
2006-03-03 23:31:16 +01:00
|
|
|
--set-rpath $libX11/lib:$libXext/lib \
|
|
|
|
$i
|
|
|
|
done
|
2006-03-03 20:25:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
installPhase() {
|
|
|
|
ensureDir $out
|
|
|
|
cp -prvd * $out/
|
|
|
|
}
|
|
|
|
|
2009-04-23 15:31:10 +02:00
|
|
|
genericBuild
|