From 4669a341882a2b07a124cc249ccf9ebed99ade9f Mon Sep 17 00:00:00 2001 From: nzbr Date: Thu, 10 Sep 2026 13:09:26 +0200 Subject: [PATCH] Add /bin/true --- modules/wsl-distro.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/wsl-distro.nix b/modules/wsl-distro.nix index c98d764..9be4b09 100644 --- a/modules/wsl-distro.nix +++ b/modules/wsl-distro.nix @@ -33,7 +33,7 @@ let assert cfg.useWindowsDriver; pkgs.runCommand "wsl-lib" { } '' mkdir -p "$out/lib" - + ${concatMapStrings (path: '' ln -s ${escapeShellArg path} "$out/lib" '') (defaultLinks ++ extraLinks)} @@ -232,6 +232,7 @@ in { src = "${cfg.binShExe}"; name = "sh"; } { src = "${pkgs.util-linux}/bin/mount"; } { src = "${pkgs.bashInteractive}/bin/bash"; } + { src = "${pkgs.coreutils}/bin/true"; } ]; };