nixpkgs-suyu/pkgs/applications/taxes/aangifte-2007/builder.sh
2015-03-04 22:15:46 +01:00

19 lines
369 B
Bash

source $stdenv/setup
echo $NIX_CC
buildPhase() {
for i in bin/*; do
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath $libX11/lib:$libXext/lib:$libSM/lib:$(cat $NIX_CC/nix-support/orig-cc)/lib \
$i
done
}
installPhase() {
mkdir -p $out
cp -prvd * $out/
}
genericBuild