Make nix error transparent

This commit is contained in:
2026-06-08 16:12:57 +02:00
parent f4e2f71de6
commit 4b7f8fc662
+1 -1
View File
@@ -31,7 +31,7 @@ pub enum Error {
///
/// Contains detailed error information from the underlying Nix C API.
/// See [`NixError`] for the specific error kinds.
#[error("the Nix API returned an error")]
#[error(transparent)]
Nix(#[from] NixError),
/// The garbage collector failed to get the stack base.
///