public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox] schema: add nix "feature" feature
@ 2025-07-15  8:27 Gabriel Goller
  2025-07-15 21:13 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel Goller @ 2025-07-15  8:27 UTC (permalink / raw)
  To: pbs-devel

proxmox-schema uses `nix::sys::utsname` which needs the "feature"
feature [0].

[0]: https://docs.rs/nix/latest/nix/sys/utsname/index.html

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
 proxmox-schema/Cargo.toml     | 2 +-
 proxmox-schema/debian/control | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/proxmox-schema/Cargo.toml b/proxmox-schema/Cargo.toml
index b1c5aa6dc090..593f7d8747c6 100644
--- a/proxmox-schema/Cargo.toml
+++ b/proxmox-schema/Cargo.toml
@@ -21,7 +21,7 @@ textwrap = "0.16"
 
 # the upid type needs this for 'getpid'
 libc = { workspace = true, optional = true }
-nix = { workspace = true, optional = true }
+nix = { workspace = true, optional = true, features = [ "feature" ] }
 
 proxmox-api-macro = { workspace = true, optional = true }
 
diff --git a/proxmox-schema/debian/control b/proxmox-schema/debian/control
index 9160dd194b90..78b9682d016a 100644
--- a/proxmox-schema/debian/control
+++ b/proxmox-schema/debian/control
@@ -85,7 +85,8 @@ Depends:
  ${misc:Depends},
  librust-proxmox-schema-dev (= ${binary:Version}),
  librust-libc-0.2+default-dev (>= 0.2.107-~~),
- librust-nix-0.29+default-dev
+ librust-nix-0.29+default-dev,
+ librust-nix-0.29+feature-dev
 Provides:
  librust-proxmox-schema-4+upid-api-impl-dev (= ${binary:Version}),
  librust-proxmox-schema-4.1+upid-api-impl-dev (= ${binary:Version}),
-- 
2.39.5



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pbs-devel] applied: [PATCH proxmox] schema: add nix "feature" feature
  2025-07-15  8:27 [pbs-devel] [PATCH proxmox] schema: add nix "feature" feature Gabriel Goller
@ 2025-07-15 21:13 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-07-15 21:13 UTC (permalink / raw)
  To: pve-devel, pbs-devel, Gabriel Goller

On Tue, 15 Jul 2025 10:27:47 +0200, Gabriel Goller wrote:
> proxmox-schema uses `nix::sys::utsname` which needs the "feature"
> feature [0].
> 
> [0]: https://docs.rs/nix/latest/nix/sys/utsname/index.html
> 
> 

Applied, thanks!

[1/1] schema: add nix "feature" feature
      commit: 982a564d44a9ef7b157dc06cf952d22f7caea784


_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-15 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-15  8:27 [pbs-devel] [PATCH proxmox] schema: add nix "feature" feature Gabriel Goller
2025-07-15 21:13 ` [pbs-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal