Skip to content
Discussion options

You must be logged in to vote

envfs breaks all kinds of things in my experience. I still have this comment in my code from when I tested it way back:

services.envfs = {
  # breaks mounting of /mnt/c at startup
  # enable = true;
  # https://gthub.com/nix-community/NixOS-WSL/blob/main/modules/wsl-distro.nix#L102-L105
  extraFallbackPathCommands = /* bash */ ''
    ln -sf /init $out/wslpath
    ln -sf ${lib.getExe config.wsl.binShPkg} $out/sh
    ln -sf ${pkgs.shadow}/bin/login $out/login
    ln -sf ${pkgs.util-linux}/bin/mount $out/mount
  '';
};

saying that I cannot recommend it unless you are into bug hunting.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Tarow
Comment options

@SuperSandro2000
Comment options

Answer selected by Tarow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
wontfix This will not be worked on
2 participants