pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1nybccgjs14b3phhaycq2jx1gym4nf6sghvnv9qdfmlqxacx0jz5";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ./fix-headers.patch;
|
||||
patches = lib.optional stdenv.hostPlatform.isMusl ./fix-headers.patch;
|
||||
|
||||
# without this, libusb-compat is unable to find libusb1
|
||||
postFixup = ''
|
||||
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
patchelf --set-rpath ${lib.makeLibraryPath buildInputs} {} \;
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://libusb.info/";
|
||||
repositories.git = "https://github.com/libusb/libusb-compat-0.1";
|
||||
description = "cross-platform user-mode USB device library";
|
||||
|
||||
Reference in New Issue
Block a user