I was having NVIDIA driver issues on Steam flatpak so decided to try Steam from nixpkgs. However I was getting bwrap: Can't bind mount /oldroot/exports on /newroot/exports: Unable to mount source on destination: No such device
. So I did a fresh install thinking residuals from the Steam flatpak install was messing with bwrap but nope, I get the exact same error. I honestly don’t even know where to begin troubleshooting, it seems like I’m the only person in the world having this issue specifically with NixOS and nixpkgs Steam. Best I can tell it may be a permissions issue somewhere?
What’s mounted at /exports
?
Please paste the content of /proc/mounts
(minus data you consider private).
I had a similar symptom, although with /oldroot/v
which was defined as
{
fileSystems."/v" = {
device = "//${nixcentre}/v";
fsType = "cifs";
options = [
"username=guest"
"uid=chrism"
"gid=users"
"x-systemd.automount"
"noauto"
];
};
}
I had to disable that mount and reboot.