betterlockscreen: add missing runtime dependencies

This commit is contained in:
Emmanuel Rosa
2019-07-11 10:33:07 -04:00
committed by worldofpeace
parent 51aa3cc485
commit eb0332db39
2 changed files with 8 additions and 6 deletions
@@ -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