From 5bf0814115b02c18fa05f65e23095a84e35e4edf Mon Sep 17 00:00:00 2001 From: _cry64 Date: Tue, 14 Apr 2026 14:15:36 +1000 Subject: [PATCH 1/2] maybe `path:*` is still good practice? --- nixide/src/flake/locked_flake.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixide/src/flake/locked_flake.rs b/nixide/src/flake/locked_flake.rs index b0be32e..caf58b8 100644 --- a/nixide/src/flake/locked_flake.rs +++ b/nixide/src/flake/locked_flake.rs @@ -157,8 +157,7 @@ mod tests { .build() .unwrap(); - // let flakeref = FlakeRefBuilder::new(format!("path:{}#subthing", tmp_dir.path().display())) // DEBUG - let flakeref = FlakeRefBuilder::new(format!("{}#subthing", tmp_dir.path().display())) + let flakeref = FlakeRefBuilder::new(format!("path:{}#subthing", tmp_dir.path().display())) .build() .unwrap(); From 7b417554ee5ebc6c9bc9583f8b98d82b77ab6ac8 Mon Sep 17 00:00:00 2001 From: _cry64 Date: Tue, 14 Apr 2026 14:15:49 +1000 Subject: [PATCH 2/2] (fmt) include after macro_rules! --- nixide/src/util/panic.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixide/src/util/panic.rs b/nixide/src/util/panic.rs index 0772e31..f77d83c 100644 --- a/nixide/src/util/panic.rs +++ b/nixide/src/util/panic.rs @@ -6,6 +6,7 @@ macro_rules! panic_issue { ) }}; } +pub(crate) use panic_issue; macro_rules! panic_issue_call_failed { () => {{ @@ -15,6 +16,4 @@ macro_rules! panic_issue_call_failed { crate::util::panic_issue!("[nixide] call to `{}` failed with \"{}\"", ::stdext::debug_name!(), format!($($arg),*)) }}; } - -pub(crate) use panic_issue; pub(crate) use panic_issue_call_failed;