So I recently setup a server of mine on my network that I use for Remote Nix Building as I use some things that propagate on my Desktop, Laptop, Steam Deck. Building on those devices seem to be slow especially building the kernel and other large projects on my Laptop and Steam Deck so I’ve relied on my server to handle this, but I’ve ran into a problem in particular with Davinci Resolve.
Here’s the error I’m getting:
Running phase: buildPhase
no Makefile or custom buildPhase, doing nothing
Running phase: installPhase
** (process:46): ERROR **: 21:30:40.910: main: mount(0, "/", 0, MS_SLAVE | MS_REC, 0): Permission denied
/nix/store/5fy7sqf7zpi84wy2nbq3ijwlih085psh-stdenv-linux/setup: line 1770: 44 Trace/breakpoint trap (core dumped) appimage-run DaVinci_Resolve_19.1.3_Linux.run -i -y -n -C $out
error: builder for '/nix/store/g4d1sy7kglalw0g2ysfx6py5qg72zkqs-davinci-resolve-19.1.3.drv' failed with exit code 133;
last 14 log lines:
> Running phase: unpackPhase
> unpacking source archive /nix/store/cfcn967nha74w477pj52nmccrc13bba3-davinci-resolve-src.zip
> source root is .
> setting SOURCE_DATE_EPOCH to timestamp 1737338461 of file "./DaVinci_Resolve_19.1.3_Linux.run"
> Running phase: patchPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: configurePhase
> no configure script, doing nothing
> Running phase: buildPhase
> no Makefile or custom buildPhase, doing nothing
> Running phase: installPhase
>
> ** (process:46): ERROR **: 21:30:40.910: main: mount(0, "/", 0, MS_SLAVE | MS_REC, 0): Permission denied
> /nix/store/5fy7sqf7zpi84wy2nbq3ijwlih085psh-stdenv-linux/setup: line 1770: 44 Trace/breakpoint trap (core dumped) appimage-run DaVinci_Resolve_19.1.3_Linux.run -i -y -n -C $out
For full logs, run:
nix-store -l /nix/store/g4d1sy7kglalw0g2ysfx6py5qg72zkqs-davinci-resolve-19.1.3.drv
I’m only installing it like environment.systemPackages = with pkgs; [ davinci-resolve ];
My Server isn’t a native NixOS install, instead it’s a Ubuntu noble 24.04 using the multi-user Nix: Package Manager installation. Everything else works perfectly, even kernel building and building of other larger more intense packages ONLY Davinci Resolve is having this issue. Building the system local works perfectly, no issues, but since I’m always running on the server so I can share my builds with my devices so this is causing a build issue every time I try.
Anyone know what’s going on?