Skip to content
Permalink
Browse files

Merge pull request #57668 from booxter/release-18.09-xscreensaver-perl

xscreensaver: Enable perl modules needed for RSS image fetch (#57629)
  • Loading branch information...
7c6f434c committed Mar 15, 2019
2 parents 8252eae + 5bcb2d2 commit fdb5b68d155e4e81a81a9985770ad57b51fe45ff
Showing with 6 additions and 1 deletion.
  1. +6 −1 pkgs/misc/screensavers/xscreensaver/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, bc, perl, pam, libXext, libXScrnSaver, libX11
{ stdenv, fetchurl, pkgconfig, bc, perl, perlPackages, pam, libXext, libXScrnSaver, libX11
, libXrandr, libXmu, libXxf86vm, libXrender, libXxf86misc, libjpeg, libGLU_combined, gtk2
, libxml2, libglade, intltool, xorg, makeWrapper, gle
, forceInstallAllHacks ? false
@@ -37,6 +37,11 @@ stdenv.mkDerivation rec {
postInstall = ''
wrapProgram $out/bin/xscreensaver-text \
--prefix PATH : ${stdenv.lib.makeBinPath [xorg.appres]}
wrapProgram $out/bin/xscreensaver-getimage-file \
--set PERL5LIB "$out/${perlPackages.perl.libPrefix}:${with perlPackages; stdenv.lib.makePerlPath [
EncodeLocale HTTPDate HTTPMessage IOSocketSSL LWP LWPProtocolHttps
MozillaCA NetHTTP NetSSLeay TryTiny URI
]}"
''
+ stdenv.lib.optionalString forceInstallAllHacks ''
make -C hacks/glx dnalogo

0 comments on commit fdb5b68

Please sign in to comment.
You can’t perform that action at this time.