Package: nsncd
Version: 1.4.1-2

We are preparing an update of rust-nix to version 0.27, the new version has
been uploaded to experlmental.

In the new version of the nix crate,  No features are enabled by default,
you must enable the features you require.

The attached patch relaxes the cargo dependency on nix to allow the new
version and expliciltly enables the "fs" feature.

A debdiff is attatched, if I get no response I will likely NMU this when the
new rust-nix is uploaded to unstable.

diff -Nru nsncd-1.4.1/debian/changelog nsncd-1.4.1/debian/changelog
--- nsncd-1.4.1/debian/changelog        2023-12-23 10:08:38.000000000 +0000
+++ nsncd-1.4.1/debian/changelog        2024-02-24 13:29:45.000000000 +0000
@@ -1,3 +1,10 @@
+nsncd (1.4.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax cargo dependency on nix crate and explicitly enable "user" feature.
+
+ -- Peter Michael Green <plugw...@debian.org>  Sat, 24 Feb 2024 13:29:45 +0000
+
 nsncd (1.4.1-2) unstable; urgency=medium
 
   * debian: Delete README.source.
diff -Nru nsncd-1.4.1/debian/patches/nix-0.27.patch 
nsncd-1.4.1/debian/patches/nix-0.27.patch
--- nsncd-1.4.1/debian/patches/nix-0.27.patch   1970-01-01 00:00:00.000000000 
+0000
+++ nsncd-1.4.1/debian/patches/nix-0.27.patch   2024-02-24 13:28:08.000000000 
+0000
@@ -0,0 +1,13 @@
+Index: nsncd-1.4.1/Cargo.toml
+===================================================================
+--- nsncd-1.4.1.orig/Cargo.toml
++++ nsncd-1.4.1/Cargo.toml
+@@ -19,7 +19,7 @@ slog = "^2.5"
+ slog-async = "^2.7"
+ slog-term = "^2.6"
+ crossbeam-channel = "^0.5"
+-nix = "^0.26"
++nix = { version = ">= 0.26", features = ["user"] }
+ num-derive = "^0.3"
+ num-traits = "^0.2"
+ sd-notify = "^0.4"
diff -Nru nsncd-1.4.1/debian/patches/series nsncd-1.4.1/debian/patches/series
--- nsncd-1.4.1/debian/patches/series   2023-12-23 10:08:38.000000000 +0000
+++ nsncd-1.4.1/debian/patches/series   2024-02-24 13:24:37.000000000 +0000
@@ -2,3 +2,4 @@
 nsncd.service-load-nsncd-from-usrlibexec.patch
 nsncd.service-read-default-environmentfi.patch
 x-.gitignore-ignore-vim-swapfiles.patch
+nix-0.27.patch

Reply via email to