mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 15:41:40 +00:00
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
18 lines
306 B
Bash
18 lines
306 B
Bash
source $stdenv/setup
|
|
|
|
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() {
|
|
mkdir -p $out
|
|
cp -prvd * $out/
|
|
}
|
|
|
|
genericBuild
|