[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 02/12] build-system: Add cargo build system.
From: |
Danny Milosavljevic |
Subject: |
Re: [PATCH 02/12] build-system: Add cargo build system. |
Date: |
Fri, 30 Dec 2016 12:08:25 +0100 |
Hi,
when I use git-download, the files it checked out will have r-- permissions and
thus cargo-build-system can't patch Cargo.toml .
To reproduce, try:
(define-public rust-c-vec
(package
(name "rust-c-vec")
(version "1.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/GuillaumeGomez/c_vec-rs.git")
(commit "ee4ccb4ecb092926175ec58c60434ee153190aa8")))
;(method url-fetch)
;(uri (crate-uri "c_vec" version))
(file-name
(string-append name "-" version "-checkout"))
(sha256
(base32
"0crdx88z8cfmc3j7d71max46acjdz2fgi9izifdw2gh13nzg83rk"))))
(build-system cargo-build-system)
(native-inputs `(("rust-libc" ,rust-libc)))
(home-page "FIXME") ; FIXME fixed manually. It said ()
(synopsis "Structures to wrap C arrays")
(description "Structures to wrap C arrays")
(license (list license:asl2.0 license:expat))))
- [PATCH 00/12] Rust build system v2., David Craven, 2016/12/11
- [PATCH 03/12] import: utils: Add some utilities., David Craven, 2016/12/11
- [PATCH 02/12] build-system: Add cargo build system., David Craven, 2016/12/11
- [PATCH 05/12] import: Add updater for rust crates., David Craven, 2016/12/11
- [PATCH 06/12] gnu: llvm: Enable install utils., David Craven, 2016/12/11
- [PATCH 04/12] import: Add importer for rust crates., David Craven, 2016/12/11
- [PATCH 08/12] gnu: Add rustc., David Craven, 2016/12/11
- [PATCH 09/12] gnu: Add rust-libc., David Craven, 2016/12/11