mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
build/cargo: Don't try to unpack sanity-check.py.
* guix/build/cargo-build-system.scm (crate-src?): Also don't try to check python scripts for Cargo.toml. Change-Id: I001a89b83d2e472706b1263007be45d1153c140f
This commit is contained in:
parent
8292d0d477
commit
c8456eff68
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@
|
|||
"Check if PATH refers to a crate source, namely a gzipped tarball with a
|
||||
Cargo.toml file present at its root."
|
||||
(and (not (directory-exists? path)) ; not a tarball
|
||||
(not (string-suffix? "py" path)) ; sanity-check.py
|
||||
;; First we print out all file names within the tarball to see if it
|
||||
;; looks like the source of a crate. However, the tarball will include
|
||||
;; an extra path component which we would like to ignore (since we're
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue