DavHau / nix-portable

Nix - Static, Permissionless, Installation-free, Pre-configured
MIT License
779 stars 29 forks source link

Fails to run with vfs mount #74

Open mvgijssel opened 9 months ago

mvgijssel commented 9 months ago

I'm trying to use this package to get nix to work into the BuildBuddy CI (https://github.com/mvgijssel/setup/pull/544, https://buildbuddy.slack.com/archives/CUY16GNK1/p1695741762934659?thread_ts=1695126450.569509&cid=CUY16GNK1). When running the installer I get the following error

find: /vfs: Interrupted system call

It seems the /vfs mount is special within the Firecracker VM and find breaks when accessing it. Would it be possible to supply an ignore list to nix-portable? For example

NP_IGNORE_MOUNTS='/vfs'  nix-portable nix-shell -p bash