summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/libusb.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 629bcf5fe5..abf11400e3 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -532,6 +532,7 @@ devices.")
        (uri (git-reference
              (url "https://github.com/libusb/hidapi.git")
              (commit (string-append "hidapi-" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32 "1p4g8lgwj4rki6lbn5l6rvwj0xlbn1xfh4d255bg5pvgczmwmc4i"))))
     (build-system gnu-build-system)