build: cargo-build-system: Strip store hash from vendor-dir.
* guix/build/cargo-build-system.scm (configure): When copying the sources into the vendor-dir strip off the hash before the package name.
This commit is contained in:
parent
abed5df777
commit
f58b2f38e4
|
@ -99,7 +99,7 @@ Cargo.toml file present at its root."
|
||||||
(for-each
|
(for-each
|
||||||
(match-lambda
|
(match-lambda
|
||||||
((name . path)
|
((name . path)
|
||||||
(let* ((basepath (basename path))
|
(let* ((basepath (string-drop (basename path) 33))
|
||||||
(crate-dir (string-append vendor-dir "/" basepath)))
|
(crate-dir (string-append vendor-dir "/" basepath)))
|
||||||
(and (crate-src? path)
|
(and (crate-src? path)
|
||||||
;; Gracefully handle duplicate inputs
|
;; Gracefully handle duplicate inputs
|
||||||
|
|
Loading…
Reference in New Issue