betterlockscreen: format
This commit is contained in:
parent
4477421b05
commit
7b6af9e542
|
@ -3,7 +3,7 @@
|
|||
, makeWrapper
|
||||
, stdenv
|
||||
|
||||
# Dependencies (@see https://github.com/pavanjadhaw/betterlockscreen/blob/master/shell.nix)
|
||||
# Dependencies (@see https://github.com/pavanjadhaw/betterlockscreen/blob/master/shell.nix)
|
||||
, bc
|
||||
, coreutils
|
||||
, i3lock-color
|
||||
|
@ -30,20 +30,15 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase =
|
||||
let
|
||||
PATH =
|
||||
lib.makeBinPath
|
||||
[ bc coreutils i3lock-color gawk gnugrep gnused imagemagick procps xdpyinfo xrandr xset ];
|
||||
in ''
|
||||
runHook preInstall
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
cp betterlockscreen $out/bin/betterlockscreen
|
||||
wrapProgram "$out/bin/betterlockscreen" --prefix PATH : "$out/bin:${PATH}"
|
||||
mkdir -p $out/bin
|
||||
cp betterlockscreen $out/bin/betterlockscreen
|
||||
wrapProgram "$out/bin/betterlockscreen" --prefix PATH : "$out/bin:${lib.makeBinPath [ bc coreutils i3lock-color gawk gnugrep gnused imagemagick procps xdpyinfo xrandr xset ]}"
|
||||
|
||||
runHook preInstall
|
||||
'';
|
||||
runHook preInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast and sweet looking lockscreen for linux systems with effects!";
|
||||
|
|
Loading…
Reference in a new issue