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
+3 -3
View File
@@ -3,7 +3,7 @@
, qmake, withEspeak ? false, espeak ? null
, qt5 }:
let inherit (stdenv.lib) getDev; in
let inherit (lib) getDev; in
stdenv.mkDerivation rec {
pname = "rockbox-utility";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ cryptopp libusb1 qtbase qttools ]
++ stdenv.lib.optional withEspeak espeak;
++ lib.optional withEspeak espeak;
nativeBuildInputs = [ makeWrapper pkgconfig qmake qt5.wrapQtAppsHook ];
postPatch = ''
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
install -Dm755 RockboxUtility $out/bin/rockboxutility
ln -s $out/bin/rockboxutility $out/bin/RockboxUtility
wrapProgram $out/bin/rockboxutility \
${stdenv.lib.optionalString withEspeak ''
${lib.optionalString withEspeak ''
--prefix PATH : ${espeak}/bin
''}