From 5dc6306e9cc2ed15b4a556f77af4b7721ebc08c8 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Thu, 1 Feb 2018 14:12:18 -0600 Subject: [PATCH] xpwn: build usb-based tools by replacing libusb1 dep with libusb Otherwise the build fails to detect libusb and doesn't build the 'xpwn' and 'dfu-util' tools. New tools run but I don't have any suitable devices to test :). (I believe latest iGadgets need a newer version of xpwn anyway) --- pkgs/development/mobile/xpwn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/mobile/xpwn/default.nix b/pkgs/development/mobile/xpwn/default.nix index e1b2b0cb2fa..d5ffb7f6c01 100644 --- a/pkgs/development/mobile/xpwn/default.nix +++ b/pkgs/development/mobile/xpwn/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, cmake, zlib, libpng, bzip2, libusb1, openssl }: +{ stdenv, fetchgit, cmake, zlib, libpng, bzip2, libusb, openssl }: stdenv.mkDerivation { name = "xpwn-0.5.8git"; @@ -18,7 +18,7 @@ stdenv.mkDerivation { sed -i -e '/install/d' CMakeLists.txt ''; - buildInputs = [ cmake zlib libpng bzip2 libusb1 openssl ]; + buildInputs = [ cmake zlib libpng bzip2 libusb openssl ]; cmakeFlags = [ "-DCMAKE_OSX_DEPLOYMENT_TARGET="