diff options
author | Michal Sojka <michal.sojka@cvut.cz> | 2021-06-01 17:24:02 +0200 |
---|---|---|
committer | Michal Sojka <michal.sojka@cvut.cz> | 2021-06-02 00:00:07 +0200 |
commit | 21fd69710ad263502ad485aafcb3d57fd89747b6 (patch) | |
tree | cebb37df3842f322c31f8fd9eea04b9ae938dd16 /pkgs/top-level/perl-packages.nix | |
parent | b6e6f1dddd165f149f89865dd5f14722298f1521 (diff) | |
download | nixpkgs-21fd69710ad263502ad485aafcb3d57fd89747b6.tar nixpkgs-21fd69710ad263502ad485aafcb3d57fd89747b6.tar.gz nixpkgs-21fd69710ad263502ad485aafcb3d57fd89747b6.tar.bz2 nixpkgs-21fd69710ad263502ad485aafcb3d57fd89747b6.tar.lz nixpkgs-21fd69710ad263502ad485aafcb3d57fd89747b6.tar.xz nixpkgs-21fd69710ad263502ad485aafcb3d57fd89747b6.tar.zst nixpkgs-21fd69710ad263502ad485aafcb3d57fd89747b6.zip |
perlPackages.FileMimeInfo: Add missing dependency
Since version 0.30 (2020-10-26), FileMimeInfo depends on Encode::Locale (see https://metacpan.org/changes/distribution/File-MimeInfo). Without having this dependency in Nix, mimetype command fails, which can result in xdg-mime not working properly. Specifically, under generic desktop environments (i3 in my case), xdg-mime tries to use the mimetype command, which fails. Then xdg-mime falls back to using the file command, which often does not detect the mime type correctly.
Diffstat (limited to 'pkgs/top-level/perl-packages.nix')
-rw-r--r-- | pkgs/top-level/perl-packages.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 7bcdf6190c8..bf87eb380d9 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -8092,7 +8092,7 @@ let sha256 = "0wm87gpagb35d7c4nyaf9z3ry0jb3g5xpyjfzcxqcfxyj2zy9ip2"; }; doCheck = false; # Failed test 'desktop file is the right one' - buildInputs = [ FileBaseDir FileDesktopEntry ]; + buildInputs = [ FileBaseDir FileDesktopEntry EncodeLocale ]; }; FileMMagic = buildPerlPackage { |