* lib/site_perl -> lib/perl5/site_perl.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15258
This commit is contained in:
Eelco Dolstra
2009-04-22 23:04:18 +00:00
parent 9609437573
commit 7ec61219db
6 changed files with 13 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
source $stdenv/setup
PERL5LIB="$PERL5LIB${PERL5LIB:+:}$out/lib/site_perl"
PERL5LIB="$PERL5LIB${PERL5LIB:+:}$out/lib/perl5/site_perl"
perlFlags=
for i in $(IFS=:; echo $PERL5LIB); do

View File

@@ -2,15 +2,18 @@
stdenv.mkDerivation {
name = "icon-naming-utils-0.8.7";
src = fetchurl {
url = http://tango.freedesktop.org/releases/icon-naming-utils-0.8.7.tar.gz;
sha256 = "1lj0lffdg7fjfinhrn0vsq1kj010dxlxlix4jfc969j6l3k9rd0w";
};
buildInputs = [perl perlXMLSimple];
postInstall = "
# Add XML::Simple to the runtime search path.
substituteInPlace $out/libexec/icon-name-mapping \\
--replace '/bin/perl' '/bin/perl -I${perlXMLSimple}/lib/site_perl';
--replace '/bin/perl' '/bin/perl -I${perlXMLSimple}/lib/perl5/site_perl';
ensureDir $out/lib
ln -s $out/share/pkgconfig $out/lib/pkgconfig # WTF?
";