diff --git a/pkgs/tools/misc/usbmuxd/default.nix b/pkgs/tools/misc/usbmuxd/default.nix index 624c818c1f72..2e9c2318081e 100644 --- a/pkgs/tools/misc/usbmuxd/default.nix +++ b/pkgs/tools/misc/usbmuxd/default.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation rec { pname = "usbmuxd"; - version = "1.1.1+date=2022-04-04"; + version = "1.1.1+date=2023-05-05"; src = fetchFromGitHub { owner = "libimobiledevice"; repo = pname; - rev = "2839789bdb581ede7c331b9b4e07e0d5a89d7d18"; - hash = "sha256-wYW6hI0Ti9gKtk/wxIbdY5KaPMs/p+Ve9ceeRqXihQI="; + rev = "01c94c77f59404924f1c46d99c4e5e0c7817281b"; + hash = "sha256-WqbobkzlJ9g5fb9S2QPi3qdpCLx3pxtNlT7qDI63Zp4="; }; nativeBuildInputs = [ @@ -28,6 +28,10 @@ stdenv.mkDerivation rec { libusb1 ]; + preAutoreconf = '' + export RELEASE_VERSION=${version} + ''; + configureFlags = [ "--with-udevrulesdir=${placeholder "out"}/lib/udev/rules.d" "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"