f2c540241a
svn path=/nixpkgs/trunk/; revision=8290
19 lines
No EOL
354 B
Bash
19 lines
No EOL
354 B
Bash
source $stdenv/setup
|
|
|
|
buildPhase=buildPhase
|
|
buildPhase() {
|
|
for i in bin/*; do
|
|
patchelf \
|
|
--set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
|
|
--set-rpath $libX11/lib:$libXext/lib \
|
|
$i
|
|
done
|
|
}
|
|
|
|
installPhase=installPhase
|
|
installPhase() {
|
|
ensureDir $out
|
|
cp -prvd * $out/
|
|
}
|
|
|
|
genericBuild |