xdg-utils: add perlPackages.FileMimeInfo to xdg-mime-prologue (#291692)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Coutinho de Souza 2024-03-01 13:20:46 +00:00 committed by GitHub
parent f00853b0e6
commit aba28d5103
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 ]}
''}";
}
{