Packaging up for NixOS

My recent attempt at packaging NixOS is here: Trying to package Manager.io · Issue #30926 · NixOS/nixpkgs · GitHub.

I try it once a year to see if things have progressed to the point that it can work.

Prior topic: Packaging for NixOS

Any ideas?

So the error is

Couldn’t find a valid ICU package installed on the system. Please install libicu (or icu-libs) using your package manager and try again. Alternatively you can set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support. Please see Globalization config settings - .NET | Microsoft Learn for more information.

Manager doesn’t rely on Globalization namespace all that much. There are only a few places. If I can remove all the references to it, then System.Globalization.Invariant could be set to true and this should remove dependency on libicu (or icu-libs).

First, I will download NixOS and try to reproduce this myself. Then we see what’s the next step.

That would indeed make it easier. The less dependencies, the less complexity!

Note that:

This gives us an executable that doesn’t complain but produces a blank screen.

When I wrapped it up. It was just a blank screen. Not sure what else was missing.