betterlockscreen: add missing runtime dependencies

This commit is contained in:
Emmanuel Rosa 2019-07-06 16:56:55 +07:00 committed by worldofpeace
parent 51aa3cc485
commit eb0332db39
2 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
stdenv, makeWrapper, fetchFromGitHub,
imagemagick, i3lock-color, xdpyinfo, xrandr, bc, feh
imagemagick, i3lock-color, xdpyinfo, xrandr, bc, feh, procps, xrdb
}:
stdenv.mkDerivation rec {
@ -18,11 +18,11 @@ stdenv.mkDerivation rec {
patches = [ ./replace-i3lock.patch ];
installPhase =
let
PATH =
installPhase =
let
PATH =
stdenv.lib.makeBinPath
[imagemagick i3lock-color xdpyinfo xrandr bc feh];
[imagemagick i3lock-color xdpyinfo xrandr bc feh procps xrdb];
in ''
mkdir -p $out/bin
cp betterlockscreen $out/bin/betterlockscreen

View File

@ -18470,7 +18470,9 @@ in
i3lock-pixeled = callPackage ../misc/screensavers/i3lock-pixeled { };
betterlockscreen = callPackage ../misc/screensavers/betterlockscreen { };
betterlockscreen = callPackage ../misc/screensavers/betterlockscreen {
inherit (xorg) xrdb;
};
i3minator = callPackage ../tools/misc/i3minator { };