nixpkgs/pkgs/applications/taxes/aangifte-2008/builder.sh

20 lines
369 B
Bash
Raw Normal View History

source $stdenv/setup
echo $NIX_CC
buildPhase() {
for i in bin/*; do
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
2015-03-04 21:15:10 +00:00
--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