1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
nixpkgs/pkgs/evil/belastingdienst/builder.sh
Eelco Dolstra 0d299bc2f7 * Purify aangifte2005. Now we can do our taxes in NixOS ;-)
svn path=/nixpkgs/trunk/; revision=4980
2006-03-03 22:31:16 +00:00

20 lines
383 B
Bash

source $stdenv/setup
buildPhase=buildPhase
buildPhase() {
glibc=$(cat $NIX_GCC/nix-support/orig-glibc)
for i in bin/*; do
patchelf \
--set-interpreter $glibc/lib/ld-linux.so.* \
--set-rpath $libX11/lib:$libXext/lib \
$i
done
}
installPhase=installPhase
installPhase() {
ensureDir $out
cp -prvd * $out/
}
genericBuild