forked from mirrors/nixpkgs
ba7406aa35
svn path=/nixpkgs/trunk/; revision=8291
19 lines
354 B
Bash
19 lines
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 |