Package: starship I hope to update rust-nix to 0.30 soon, starships debian build-dependencies allow the new version, but the cargo dependencies do not,
After relaxing the cargo dependency, the package builds succesfully debdiff is attatched.
diff -Nru starship-1.22.1/debian/changelog starship-1.22.1/debian/changelog --- starship-1.22.1/debian/changelog 2025-08-19 09:18:57.000000000 +0000 +++ starship-1.22.1/debian/changelog 2025-09-28 13:09:58.000000000 +0000 @@ -1,3 +1,10 @@ +starship (1.22.1-6.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Relax dependency on nix. + + -- Peter Michael Green <[email protected]> Sun, 28 Sep 2025 13:09:58 +0000 + starship (1.22.1-6) unstable; urgency=medium [ Blair Noctis ] diff -Nru starship-1.22.1/debian/patches/relax-deps.patch starship-1.22.1/debian/patches/relax-deps.patch --- starship-1.22.1/debian/patches/relax-deps.patch 2025-08-19 09:08:16.000000000 +0000 +++ starship-1.22.1/debian/patches/relax-deps.patch 2025-09-28 12:48:53.000000000 +0000 @@ -1,7 +1,9 @@ Forwarded: not-needed -Last-Update: 2025-03-13 ---- a/Cargo.toml -+++ b/Cargo.toml +Last-Update: 2025-09-28 +Index: starship-1.22.1/Cargo.toml +=================================================================== +--- starship-1.22.1.orig/Cargo.toml ++++ starship-1.22.1/Cargo.toml @@ -46,2 +46,2 @@ -clap = { version = "4.5.26", features = ["derive", "cargo", "unicode"] } -clap_complete = "4.5.42" @@ -39,6 +41,9 @@ @@ -95 +95 @@ -libz-ng-sys = { version = "<1.1.20", optional = true } +#libz-ng-sys = { version = "<1.1.20", optional = true } +@@ -117 +117 @@ +-nix = { version = "0.29.0", default-features = false, features = ["feature", "fs", "user"] } ++nix = { version = ">= 0.29.0", default-features = false, features = ["feature", "fs", "user"] } @@ -120 +120 @@ -shadow-rs = { version = "0.37.0", default-features = false } +shadow-rs = "1"

