yubikey-personalization: request libusb1 directly

This commit is contained in:
Florian Klink 2020-04-24 23:42:01 +02:00
parent 88048e3213
commit f3a5fd548a
2 changed files with 3 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libusb, libyubikey, json_c }:
{ stdenv, fetchurl, pkgconfig, libusb1, libyubikey, json_c }:
stdenv.mkDerivation rec {
pname = "yubikey-personalization";
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb libyubikey json_c ];
buildInputs = [ libusb1 libyubikey json_c ];
configureFlags = [
"--with-backend=libusb-1.0"

View file

@ -15062,9 +15062,7 @@ in
yubikey-neo-manager = callPackage ../tools/misc/yubikey-neo-manager { };
yubikey-personalization = callPackage ../tools/misc/yubikey-personalization {
libusb = libusb1;
};
yubikey-personalization = callPackage ../tools/misc/yubikey-personalization { };
yubikey-personalization-gui = libsForQt5.callPackage ../tools/misc/yubikey-personalization-gui { };