diff options
author | Leo Famulari <leo@famulari.name> | 2016-10-30 19:19:21 -0400 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2016-10-30 19:19:21 -0400 |
commit | 205f0107bb894745ee740227c090ff90ee599915 (patch) | |
tree | 08b2ddba47ce404468d6aba31b768e013dfb1fa3 /gnu/packages/libusb.scm | |
parent | a8dd960ac0c68957dac281812f0d16f1295a6eaa (diff) | |
parent | b89cbf5832fd920ef85002041bc690204b0174a3 (diff) | |
download | guix-patches-205f0107bb894745ee740227c090ff90ee599915.tar guix-patches-205f0107bb894745ee740227c090ff90ee599915.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/libusb.scm')
-rw-r--r-- | gnu/packages/libusb.scm | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index fe1bed1768..2c66eca372 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -105,7 +105,8 @@ version of libusb to run with newer libusb.") (build-system python-build-system) (arguments `(#:tests? #f ;no tests - #:modules ((srfi srfi-26) + #:modules ((srfi srfi-1) + (srfi srfi-26) (guix build utils) (guix build python-build-system)) #:phases @@ -116,11 +117,9 @@ version of libusb to run with newer libusb.") (("lib = locate_library\\(candidates, find_library\\)") (string-append "lib = \"" - (car (find-files (assoc-ref inputs "libusb") - (lambda (file stat) - (and ((file-name-predicate - "^libusb-.*\\.so\\..*") file stat) - (not (symbolic-link? file)))))) + (find (negate symbolic-link?) + (find-files (assoc-ref inputs "libusb") + "^libusb-.*\\.so\\..*")) "\""))) #t))))) (inputs |