2007-03-14 11:18:38 +00:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
buildPhase() {
|
|
|
|
for i in bin/*; do
|
|
|
|
patchelf \
|
2014-12-17 18:11:30 +00:00
|
|
|
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
2007-03-14 11:18:38 +00:00
|
|
|
--set-rpath $libX11/lib:$libXext/lib \
|
|
|
|
$i
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
installPhase() {
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out
|
2007-03-14 11:18:38 +00:00
|
|
|
cp -prvd * $out/
|
|
|
|
}
|
|
|
|
|
2009-04-23 14:31:10 +01:00
|
|
|
genericBuild
|