feat: introduced nix packaging and path-based binary resolution

- Add comprehensive Nix flake definitions, derivations, modules, and CI workflows.
- Update tests and executables to resolve binaries from PATH rather than absolute paths.
- Ensure byte reproducibility and zeroed timestamps in embedded dashboard archives.
- Add handling for Nix-managed installations in CLI update checks.
This commit is contained in:
can1357
2026-08-13 03:52:47 +02:00
parent 2e492a3076
commit b60bef961c
33 changed files with 3515 additions and 89 deletions
+1 -2
View File
@@ -393,8 +393,7 @@ mod tests {
#[test]
fn resolve_executable_returns_input_unchanged() {
// /bin/sh exists and is executable on every supported Unix host.
let path = PathBuf::from("/bin/sh");
let path = std::env::current_exe().expect("current test executable");
let resolved = resolve_executable(path.clone());
assert_eq!(resolved.as_deref(), Some(path.as_path()));
}