about summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
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;