Use perl.libPrefix to (hopefully) fix the Cygwin build

http://hydra.nixos.org/build/2602599
This commit is contained in:
Eelco Dolstra 2012-05-11 09:41:39 -04:00
parent 37fa47908b
commit 58d1de08d9

View file

@ -27,8 +27,8 @@ let
--with-docbook-rng=${docbook5}/xml/rng/docbook --with-docbook-rng=${docbook5}/xml/rng/docbook
--with-docbook-xsl=${docbook5_xsl}/xml/xsl/docbook --with-docbook-xsl=${docbook5_xsl}/xml/xsl/docbook
--with-xml-flags=--nonet --with-xml-flags=--nonet
--with-dbi=${perlPackages.DBI}/lib/perl5/site_perl --with-dbi=${perlPackages.DBI}/${perl.libPrefix}
--with-dbd-sqlite=${perlPackages.DBDSQLite}/lib/perl5/site_perl --with-dbd-sqlite=${perlPackages.DBDSQLite}/${perl.libPrefix}
''; '';
postUnpack = '' postUnpack = ''
@ -75,8 +75,8 @@ let
configureFlags = '' configureFlags = ''
--disable-init-state --disable-init-state
--with-dbi=${perlPackages.DBI}/lib/perl5/site_perl --with-dbi=${perlPackages.DBI}/${perl.libPrefix}
--with-dbd-sqlite=${perlPackages.DBDSQLite}/lib/perl5/site_perl --with-dbd-sqlite=${perlPackages.DBDSQLite}/${perl.libPrefix}
--enable-gc --enable-gc
''; '';
@ -103,8 +103,8 @@ let
configureFlags = '' configureFlags = ''
--disable-init-state --disable-init-state
--with-dbi=${perlPackages.DBI}/lib/perl5/site_perl --with-dbi=${perlPackages.DBI}/${perl.libPrefix}
--with-dbd-sqlite=${perlPackages.DBDSQLite}/lib/perl5/site_perl --with-dbd-sqlite=${perlPackages.DBDSQLite}/${perl.libPrefix}
''; '';
dontInstall = false; dontInstall = false;