build-system/cargo: Use 'strip-store-file-name'.
This is a follow-up to f58b2f38e4
.
* guix/build/cargo-build-system.scm (configure): Use bespoke
'strip-store-file-name' function.
master
parent
f69f37d54a
commit
43ffa11fdc
|
@ -99,7 +99,7 @@ Cargo.toml file present at its root."
|
|||
(for-each
|
||||
(match-lambda
|
||||
((name . path)
|
||||
(let* ((basepath (string-drop (basename path) 33))
|
||||
(let* ((basepath (strip-store-file-name path))
|
||||
(crate-dir (string-append vendor-dir "/" basepath)))
|
||||
(and (crate-src? path)
|
||||
;; Gracefully handle duplicate inputs
|
||||
|
|
Reference in New Issue