@@ -1110,8 +1110,8 @@ (define-public pass-rotate
your online accounts makes it necessary.")
(license license:expat)))
-;; XXX: move this import upwards before merging this patch
-(use-modules (gnu packages digest))
+;; XXX: move these imports upwards before merging this patch
+(use-modules (gnu packages digest) (guix utils))
(define-public hashcat
(package
(name "hashcat")
@@ -1130,13 +1130,13 @@ (define-public hashcat
;; TODO: Unbundle LZMA-SDK as well
#~(for-each delete-file-recursively
'("deps/zlib" "deps/xxHash" "deps/OpenCL-Headers")))))
- (native-inputs
- (list opencl-headers))
- (inputs (list minizip xxhash zlib))
+ (inputs (list minizip opencl-headers xxhash zlib))
(build-system gnu-build-system)
(arguments
(list #:tests? #f ;no tests
- #:make-flags #~(list (string-append "PREFIX="
+ #:make-flags #~(list (string-append "AR=" #$(ar-for-target))
+ (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX="
#$output)
(string-append "USE_SYSTEM_ZLIB=1")
(string-append "USE_SYSTEM_OPENCL=1")