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