From 8aebcdda5a8d56aaa95d61736c0a8970b7b50d37 Mon Sep 17 00:00:00 2001 From: _cry64 Date: Fri, 10 Apr 2026 10:14:18 +1000 Subject: [PATCH] label WriteAsNeeded as default --- nixide/src/flake/flake_lock_flags.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixide/src/flake/flake_lock_flags.rs b/nixide/src/flake/flake_lock_flags.rs index 06f3554..9f5427d 100644 --- a/nixide/src/flake/flake_lock_flags.rs +++ b/nixide/src/flake/flake_lock_flags.rs @@ -12,6 +12,8 @@ use crate::util::wrappers::AsInnerPtr; pub enum FlakeLockMode { /// Configures [LockedFlake::lock] to make incremental changes to the lock file as needed. Changes are written to file. /// + /// This is the default mode. + /// WriteAsNeeded, /// Like [FlakeLockMode::WriteAsNeeded], but does not write to the lock file.