pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 17:12:36 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions
+4 -4
View File
@@ -18,16 +18,16 @@ stdenv.mkDerivation rec {
buildInputs = [ makeWrapper ];
liveDeps = [ jq curl ] ++ stdenv.lib.optional screenshots maim
++ stdenv.lib.optional video capture
++ stdenv.lib.optional clipboard xclip;
liveDeps = [ jq curl ] ++ lib.optional screenshots maim
++ lib.optional video capture
++ lib.optional clipboard xclip;
installPhase = ''
install -Dm755 src/pb.sh $out/bin/pb
patchShebangs $out/bin/pb
wrapProgram $out/bin/pb \
--prefix PATH : '${stdenv.lib.makeBinPath liveDeps}'
--prefix PATH : '${lib.makeBinPath liveDeps}'
'';
meta = with lib; {