mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
xdg-utils: add perlPackages.FileMimeInfo to xdg-mime-prologue (#291692)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
f00853b0e6
commit
aba28d5103
@ -29,7 +29,7 @@ let
|
||||
|
||||
# This is still required to work around the eval trickery some scripts do
|
||||
commonPrologue = "${writeText "xdg-utils-prologue" ''
|
||||
export PATH=$PATH:${coreutils}/bin
|
||||
export PATH=$PATH:${lib.makeBinPath [ coreutils ]}
|
||||
''}";
|
||||
|
||||
solutions = [
|
||||
@ -120,7 +120,10 @@ let
|
||||
"$KDE_SESSION_VERSION" = true;
|
||||
"$KTRADER" = true;
|
||||
};
|
||||
prologue = commonPrologue;
|
||||
prologue = "${writeText "xdg-mime-prologue" ''
|
||||
export PERL5LIB=${with perlPackages; makePerlPath [ FileMimeInfo ]}
|
||||
export PATH=$PATH:${lib.makeBinPath [ coreutils perlPackages.FileMimeInfo ]}
|
||||
''}";
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user