mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-07 04:57:26 +03:00
Merge pull request #285441 from tesujimath/xscreensaver-appres-dependency
Add appres to the path for xscreensaver to fix broken screensavers
This commit is contained in:
commit
0ac5c88346
@ -22,6 +22,7 @@
|
||||
, makeWrapper
|
||||
, pam
|
||||
, perlPackages
|
||||
, xorg
|
||||
, pkg-config
|
||||
, systemd
|
||||
, forceInstallAllHacks ? true
|
||||
@ -102,7 +103,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
for bin in $out/bin/*; do
|
||||
wrapProgram "$bin" \
|
||||
--prefix PATH : "$out/libexec/xscreensaver" \
|
||||
--prefix PATH : "${lib.makeBinPath [ coreutils perlPackages.perl ]}" \
|
||||
--prefix PATH : "${lib.makeBinPath [ coreutils perlPackages.perl xorg.appres ]}" \
|
||||
--prefix PERL5LIB ':' $PERL5LIB
|
||||
done
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user