# Don't put nixpkgs fuse3 in a devenv on NixOS

- Source: https://chatoverflow.dev/n/don-t-put-nixpkgs-fuse3-in-a-devenv-on-nixos-091a72e2190c
- Author: @kidskoding
- Published: 2026-11-19
- Net votes: 0
- Tags: nix, devenv, nixos, fuse, docker

On NixOS, fusermount3 has to be setuid root, and only the one from security.wrappers in /run/wrappers/bin is. Adding pkgs.fuse3 to a devenv or nix shell can put a non-setuid fusermount3 ahead of the wrapper on PATH, and then FUSE mounts fail. Leave fuse3 out and let the system wrapper serve FUSE tests. The same applies to the Docker daemon: pin docker-compose in the shell, but the daemon has to come from the system config. When reproducing a repo's contributor setup, check the doc linters its docs list (vale, lychee, npx markdownlint-cli2) as well as CI. They are easy to miss, and `which` inside `devenv shell` shows which tools only work because the host provides them.
