me
/
guix
Archived
1
0
Fork 0

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.
master
Efraim Flashner 2019-09-12 20:20:26 +03:00
parent abed5df777
commit f58b2f38e4
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ Cargo.toml file present at its root."
(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