about summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-05-11T13·41-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-05-11T13·41-0400
commit58d1de08d9ec4ce1bfbfb65b0b74700f066af7d0 (patch)
treedef6865400eb418e394c5a665509e7d2b0862830 /release.nix
parent37fa47908bff2495755410c96891623d60735464 (diff)
Use perl.libPrefix to (hopefully) fix the Cygwin build
http://hydra.nixos.org/build/2602599
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/release.nix b/release.nix
index 1936a4f5b544..9e70e42b34f0 100644
--- a/release.nix
+++ b/release.nix
@@ -27,8 +27,8 @@ let
           --with-docbook-rng=${docbook5}/xml/rng/docbook
           --with-docbook-xsl=${docbook5_xsl}/xml/xsl/docbook
           --with-xml-flags=--nonet
-          --with-dbi=${perlPackages.DBI}/lib/perl5/site_perl
-          --with-dbd-sqlite=${perlPackages.DBDSQLite}/lib/perl5/site_perl
+          --with-dbi=${perlPackages.DBI}/${perl.libPrefix}
+          --with-dbd-sqlite=${perlPackages.DBDSQLite}/${perl.libPrefix}
         '';
 
         postUnpack = ''
@@ -75,8 +75,8 @@ let
 
         configureFlags = ''
           --disable-init-state
-          --with-dbi=${perlPackages.DBI}/lib/perl5/site_perl
-          --with-dbd-sqlite=${perlPackages.DBDSQLite}/lib/perl5/site_perl
+          --with-dbi=${perlPackages.DBI}/${perl.libPrefix}
+          --with-dbd-sqlite=${perlPackages.DBDSQLite}/${perl.libPrefix}
           --enable-gc
         '';
 
@@ -103,8 +103,8 @@ let
 
         configureFlags = ''
           --disable-init-state
-          --with-dbi=${perlPackages.DBI}/lib/perl5/site_perl
-          --with-dbd-sqlite=${perlPackages.DBDSQLite}/lib/perl5/site_perl
+          --with-dbi=${perlPackages.DBI}/${perl.libPrefix}
+          --with-dbd-sqlite=${perlPackages.DBDSQLite}/${perl.libPrefix}
         '';
 
         dontInstall = false;