Post

Building desktop rust apps is a pain on NixOS. Among a few other issues that just shouldn't happen, I'm considering going to bluefin + nix instead.

It's due to NixOS not having a FHS, which is basically standardized lib paths that are required for dynamic linking. So if your crate depends on something like glibc, you need to write a nix flake to setup your environment. So unlike another OS you need to know what all the sys dependencies are.

Which I would argue is a good and bad thing. Bad because it requires more developer work; but good because it requires you to be explicit about dependencies (and thus lowers the likelihood of your app not running because of a missing dependency or incorrect dependency version).

Yes, I would agree. It hit pretty hard because I wasn't expecting it, I was just excited to continue working on an app that "just worked" on win/mac. It's like how it's always good to setup your web apps to use docker. No more "my machine" issues.

0 reposts2 likes