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:
7c6f434c
2024-02-01 07:18:28 +00:00
committed by GitHub
+2 -1
View File
@@ -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
''