tangled
alpha
login
or
join now
althaea.zone
/
wire
2
fork
atom
ALPHA: wire is a tool to deploy nixos systems
wire.althaea.zone/
2
fork
atom
overview
issues
pulls
pipelines
heap alloc flakeref in TypeUnsupported errors
marshmallow
5 months ago
a6adc4a9
c6829260
+2
-2
2 changed files
expand all
collapse all
unified
split
wire
lib
src
errors.rs
hive
mod.rs
+1
-1
wire/lib/src/errors.rs
···
170
170
url("{DOCS_URL}#{}", self.code().unwrap())
171
171
)]
172
172
#[error("The flakref had an unsupported type: {:#?}", .0)]
173
173
-
TypeUnsupported(FlakeRef),
173
173
+
TypeUnsupported(Box<FlakeRef>),
174
174
}
175
175
176
176
#[derive(Debug, Diagnostic, Error)]
+1
-1
wire/lib/src/hive/mod.rs
···
122
122
| FlakeRef::SourceHut { .. },
123
123
) => Ok(HiveLocation::Flake(path)),
124
124
Err(err) => Err(HiveLocationError::Malformed(err)),
125
125
-
Ok(flakeref) => Err(HiveLocationError::TypeUnsupported(flakeref)),
125
125
+
Ok(flakeref) => Err(HiveLocationError::TypeUnsupported(Box::new(flakeref))),
126
126
}
127
127
}
128
128