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
+2 -2
View File
@@ -16,7 +16,7 @@ mkDerivation {
buildInputs = [
zlib libusb1
] ++ stdenv.lib.optional enableGUI qtbase;
] ++ lib.optional enableGUI qtbase;
nativeBuildInputs = [ cmake ];
cmakeFlags = [
@@ -27,7 +27,7 @@ mkDerivation {
preConfigure = ''
# Give ownership of the Galaxy S USB device to the logged in user.
substituteInPlace heimdall/60-heimdall.rules --replace 'MODE="0666"' 'TAG+="uaccess"'
'' + stdenv.lib.optionalString stdenv.isDarwin ''
'' + lib.optionalString stdenv.isDarwin ''
substituteInPlace libpit/CMakeLists.txt --replace "-std=gnu++11" ""
'';