diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2025-03-06 18:38:04 +0200 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2025-08-21 19:08:20 +0800 |
| commit | c8456eff6810fc6af303cfd32f37539c67ff82bb (patch) | |
| tree | 44e006e239172557ace2c19c2c3c46e4d9bc0f6a | |
| parent | 8292d0d4779f9ab19c5e11fb096b2f425650f9d6 (diff) | |
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
| -rw-r--r-- | guix/build/cargo-build-system.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm index d8433e1acd..7b519607f2 100644 --- a/guix/build/cargo-build-system.scm +++ b/guix/build/cargo-build-system.scm @@ -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 |
