From: Timothy Sample <samplet@ngyro.com>
To: Jacob Hrbek <kreyren@rixotstudio.cz>
Cc: Csepp <raingloom@riseup.net>, guix-devel@gnu.org
Subject: Re: GNU Guix on iPad2 (A1395)
Date: Tue, 27 Sep 2022 11:28:14 -0600 [thread overview]
Message-ID: <87o7v0ybf5.fsf@ngyro.com> (raw)
In-Reply-To: <R-1k8NIh8yiE31Bc20qfyMF8Rg0AlJfLE_Bk7_n_LUc066sGfANa-e6iN6n7ElbqABcoKBSF88MWrxrz9lqV5TfvwrNglXHNes1Rg74oFgQ=@rixotstudio.cz> (Jacob Hrbek's message of "Mon, 26 Sep 2022 08:04:38 +0000")
[-- Attachment #1: Type: text/plain, Size: 688 bytes --]
Hi Jacob,
Jacob Hrbek <kreyren@rixotstudio.cz> writes:
> The issue is that i can't get libusbmuxd (the daemon used to
> communicate with iDevices from Linux) to work on GNU Guix likely due
> to a configuration error in guix to perform the exploit and install
> guix, can someone help?
> https://github.com/libimobiledevice/ideviceinstaller/issues/147
>
> [...]
>
> It seems to be guix specific as the usbmuxd seems to work fine on
> other distros, but has issues on NixOS and Guix thus why asking here
I’ve run into this before. Guix is currently on libusb 1.0.24, which
has a bug: <https://github.com/libusb/libusb/issues/825>.
Here’s the workaround I use:
[-- Attachment #2: iphone-with-guix.scm --]
[-- Type: text/plain, Size: 747 bytes --]
;; Use this version of usbmuxd to access an iPhone.
;; Cf. <https://github.com/libusb/libusb/issues/825>.
(use-modules ((gnu packages libusb) #:select (libusb usbmuxd))
(guix download)
(guix packages)
(ice-9 match))
(define libusb-1.0.25
(package
(inherit libusb)
(version "1.0.25")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/libusb/libusb/releases"
"/download/v1.0.25/libusb-1.0.25.tar.bz2"))
(sha256
(base32 "0j88ym7afy4wj3x789zzxsr04asyjy0mw29gf31blzkrg8cyya4a"))))))
(package
(inherit usbmuxd)
(inputs (modify-inputs (package-inputs usbmuxd)
(replace "libusb" libusb-1.0.25))))
[-- Attachment #3: Type: text/plain, Size: 233 bytes --]
With this, I just use “guix shell -f” to launch a shell with access to
the fixed usbmuxd.
There are 1.5K packages that depend on libusb, so an update will have to
wait for the next core-updates cycle.
HTH!
-- Tim
prev parent reply other threads:[~2022-09-27 17:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-24 11:31 GNU Guix on iPad2 (A1395) Jacob Hrbek
2022-09-25 21:11 ` Csepp
2022-09-26 8:04 ` Jacob Hrbek
2022-09-27 17:28 ` Timothy Sample [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o7v0ybf5.fsf@ngyro.com \
--to=samplet@ngyro.com \
--cc=guix-devel@gnu.org \
--cc=kreyren@rixotstudio.cz \
--cc=raingloom@riseup.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).