guix-devel
[Top][All Lists]
Advanced

[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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]