diff options
| author | K900 <me@0upti.me> | 2023-04-11 12:03:03 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-11 12:03:03 +0300 |
| commit | 3957b46e3177ef62c7fbfd809782e2a321b6ca64 (patch) | |
| tree | cf5f6b1ff22853b0a16760f1de769292d0eb83c9 /modules | |
| parent | 900bcf15600b841362f9549a5714922e029d8aef (diff) | |
| parent | 99b76120272bf13ec14a33f899614aff3f80de15 (diff) | |
Merge pull request #240 from K900/smol-fix
fix: explicitly add systemctl and grep to path in shell-wrapper
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/wsl-distro.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/wsl-distro.nix b/modules/wsl-distro.nix index afcd131..7e0bacc 100644 --- a/modules/wsl-distro.nix +++ b/modules/wsl-distro.nix @@ -4,6 +4,7 @@ with lib; let bashWrapper = pkgs.writeShellScriptBin "sh" '' + export PATH=${lib.makeBinPath [ pkgs.systemd pkgs.gnugrep ]} . ${config.system.build.etc}/etc/set-environment exec ${pkgs.bashInteractive}/bin/sh "$@" ''; |
