summary refs log tree commit diff
path: root/nixos/modules/programs/command-not-found
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2018-12-15 03:50:31 +0000
committervolth <volth@volth.com>2018-12-15 03:50:31 +0000
commitbb9557eb7ca623ac9c12bae1fe4f95c9e290d27d (patch)
treec4f1c253bf8cf5fe17612039d2a27acbdacef253 /nixos/modules/programs/command-not-found
parent921d046537f6d7f0fc0db07b7aa46be7e9df030b (diff)
downloadnixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar
nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.gz
nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.bz2
nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.lz
nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.xz
nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.zst
nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.zip
lib.makePerlPath -> perlPackages.makePerlPath
Diffstat (limited to 'nixos/modules/programs/command-not-found')
-rw-r--r--nixos/modules/programs/command-not-found/command-not-found.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/command-not-found/command-not-found.nix b/nixos/modules/programs/command-not-found/command-not-found.nix
index bbe7165c62f..656c255fcb1 100644
--- a/nixos/modules/programs/command-not-found/command-not-found.nix
+++ b/nixos/modules/programs/command-not-found/command-not-found.nix
@@ -16,7 +16,7 @@ let
     isExecutable = true;
     inherit (pkgs) perl;
     inherit (cfg) dbPath;
-    perlFlags = concatStrings (map (path: "-I ${path}/lib/perl5/site_perl ")
+    perlFlags = concatStrings (map (path: "-I ${path}/${pkgs.perl.libPrefix} ")
       [ pkgs.perlPackages.DBI pkgs.perlPackages.DBDSQLite pkgs.perlPackages.StringShellQuote ]);
   };