Unable to get Roon to Start on Nix Linux

@brian, so, for Roon to work on NixOS automatic update would have to be disabled. This is because NixOS keeps binaries in a read only, hash addressed volume called a “store.” This allows users to guaranty that their system is identical to another system by comparing the hashes of the dependencies.

When finished, the script would likely have to remove/patch the auto update functionality, then allow users to update the normal way using nix-env update roon or whatever.

That said, making progress on getting it started, turns out there are unpatched bash scripts in Appliance as well, with those fixed, I now get

[nix-shell:~/code/roon-nix/RoonServer/Server]$ sudo ./RoonServer
Initializing
Started

Unhandled Exception:
System.DllNotFoundException: raatmanager
  at (wrapper managed-to-native) Sooloos.RC:RC__suppress_crash_dialogs ()
  at Sooloos.RAATServerApp.ev_go () [0x0000b] in /home/roon/roon/Client/RAATServer/raatserver_app.cs:168
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <a8460a77e67a430a8486a9751162e5f4>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <a8460a77e67a430a8486a9751162e5f4>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <a8460a77e67a430a8486a9751162e5f4>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <a8460a77e67a430a8486a9751162e5f4>:0
  at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <a8460a77e67a430a8486a9751162e5f4>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: raatmanager
  at (wrapper managed-to-native) Sooloos.RC:RC__suppress_crash_dialogs ()
  at Sooloos.RAATServerApp.ev_go () [0x0000b] in /home/roon/roon/Client/RAATServer/raatserver_app.cs:168
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <a8460a77e67a430a8486a9751162e5f4>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <a8460a77e67a430a8486a9751162e5f4>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <a8460a77e67a430a8486a9751162e5f4>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <a8460a77e67a430a8486a9751162e5f4>:0
  at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <a8460a77e67a430a8486a9751162e5f4>:0
Running

Repeated in a loop