bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28987: Another fail report for `guix import crate`.


From: Ludovic Courtès
Subject: bug#28987: Another fail report for `guix import crate`.
Date: Mon, 08 Jan 2018 11:47:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Fis Trivial <address@hidden> skribis:

> Version :5ae8c77adec6b64a53ed10c3505263380205321d
>
> $ guix import crate racer
>
> Backtrace:
>            5 (primitive-load "/gnu/store/nxdxbad50ydp1nhmgzvlwbk0jkk…")
> In guix/ui.scm:
>   1474:12  4 (run-guix-command _ . _)
> In guix/scripts/import.scm:
>    114:11  3 (guix-import . _)
> In guix/scripts/import/crate.scm:
>     86:19  2 (guix-import-crate . _)
> In guix/import/crate.scm:
>     49:30  1 (crate-fetch _ #<procedure make-crate-sexp (#:key name …>)
> In unknown file:
>            0 (string-split #f #\/)
>
> ERROR: In procedure string-split:
> ERROR: In procedure string-split: Wrong type argument in position 1 
> (expecting string): #f

Fixed in 1e63ecee0b5e1d7e4894af5a51cceeba0092693c:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix import crate racer
following redirection to 
`https://d19xqa3lc3clo8.cloudfront.net/crates/racer/racer-2.0.12.crate'...
(package
  (name "rust-racer")
  (version "2.0.12")
  (source
    (origin
      (method url-fetch)
      (uri (crate-uri "racer" version))
      (file-name
        (string-append name "-" version ".tar.gz"))
      (sha256
        (base32
          "1d0n7fzgf03ank7g93z0hj08c59kq1km91wn1sk4072q512iqkq3"))))
  (build-system cargo-build-system)
  (native-inputs
    `(("rust-lazy-static" ,rust-lazy-static "src")
      ("rust-rand" ,rust-rand "src")))
  (inputs
    `(("rust-clap" ,rust-clap "src")
      ("rust-clippy" ,rust-clippy "src")
      ("rust-env-logger" ,rust-env-logger "src")
      ("rust-lazy-static" ,rust-lazy-static "src")
      ("rust-log" ,rust-log "src")
      ("rust-syntex-errors" ,rust-syntex-errors "src")
      ("rust-syntex-syntax" ,rust-syntex-syntax "src")
      ("rust-toml" ,rust-toml "src")))
  (home-page "https://github.com/racer-rust/racer";)
  (synopsis "Code completion for Rust")
  (description "Code completion for Rust")
  (license #f))
--8<---------------cut here---------------end--------------->8---

Thanks,
Ludo’.





reply via email to

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