diff options
Diffstat (limited to 'pkgs/applications/taxes/aangifte-2008/builder.sh')
-rw-r--r-- | pkgs/applications/taxes/aangifte-2008/builder.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/applications/taxes/aangifte-2008/builder.sh b/pkgs/applications/taxes/aangifte-2008/builder.sh new file mode 100644 index 000000000000..e2d2658024a4 --- /dev/null +++ b/pkgs/applications/taxes/aangifte-2008/builder.sh @@ -0,0 +1,21 @@ +source $stdenv/setup + +echo $NIX_GCC + +buildPhase=buildPhase +buildPhase() { + for i in bin/*; do + patchelf \ + --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \ + --set-rpath $libX11/lib:$libXext/lib:$libSM/lib:$(cat $NIX_GCC/nix-support/orig-gcc)/lib \ + $i + done +} + +installPhase=installPhase +installPhase() { + ensureDir $out + cp -prvd * $out/ +} + +genericBuild \ No newline at end of file |