mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ (define* (configure #:key inputs
|
|||
(for-each
|
||||
(match-lambda
|
||||
((name . path)
|
||||
(let* ((basepath (basename path))
|
||||
(let* ((basepath (string-drop (basename path) 33))
|
||||
(crate-dir (string-append vendor-dir "/" basepath)))
|
||||
(and (crate-src? path)
|
||||
;; Gracefully handle duplicate inputs
|
||||
|
|
Loading…
Reference in a new issue