DavHau / nix-portable

Nix - Static, Permissionless, Installation-free, Pre-configured
MIT License
903 stars 32 forks source link

Fails to run with vfs mount #74

Open mvgijssel opened 1 year ago

mvgijssel commented 1 year 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