From af45ae779ac04431ed243a12fa19f34618cc8d07 Mon Sep 17 00:00:00 2001 From: Stanislav Alekseev <43210583+WeetHet@users.noreply.github.com> Date: Tue, 16 Sep 2025 14:13:28 +0300 Subject: [PATCH] Use sw_vers from DarwinTools instead of /usr/bin --- module.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/module.nix b/module.nix index 1547a99..de70709 100644 --- a/module.nix +++ b/module.nix @@ -284,11 +284,7 @@ in })) pkgs.openssh - # Lima calls `sw_vers` which is not packaged in Nix: - # https://github.com/lima-vm/lima/blob/0e931107cadbcb6dbc7bbb25626f66cdbca1f040/pkg/osutil/osversion_darwin.go#L13 - # If the call fails it will not use the Virtualization framework bakend (by default? among - # other things?). - "/usr/bin" + pkgs.darwin.DarwinTools ]; script =