* Purify aangifte2005. Now we can do our taxes in NixOS ;-)
svn path=/nixpkgs/trunk/; revision=4980
This commit is contained in:
@@ -3,9 +3,12 @@ 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.* $i
|
||||
# done
|
||||
for i in bin/*; do
|
||||
patchelf \
|
||||
--set-interpreter $glibc/lib/ld-linux.so.* \
|
||||
--set-rpath $libX11/lib:$libXext/lib \
|
||||
$i
|
||||
done
|
||||
}
|
||||
|
||||
installPhase=installPhase
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl}:
|
||||
{stdenv, fetchurl, patchelf, libX11, libXext}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "aangifte2005-1";
|
||||
@@ -9,5 +9,6 @@ stdenv.mkDerivation {
|
||||
md5 = "9cc709b8ad041f4b20154ff1491d0436";
|
||||
};
|
||||
|
||||
# buildInputs = [pkgconfig gtk libpng];
|
||||
buildInputs = [patchelf];
|
||||
inherit libX11 libXext;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user