Anonymous
06/16/2025 (Mon) 12:16
[Preview]
No.718
del
>>715On friday I tried to install Nix's sqlite_rsync package, but kept getting tracebacks saying the package doesn't exist, so in the process of troubleshooting, I apparently upgraded my nixpkgs version to 25.11, which is incompatible with the latest version of home-manager and the dependencies specified in caster-age's cabal file.
https://discourse.nixos.org/t/why-does-nix-have-haskell-packages-that-are-incompatible-with-ghc-for-a-given-version/24289I've tried everything to rollback my nix profile and nixpkgs version to no avail. So I think my next small project will be rewriting caster-age in C. I already have a cgi and html templating library installed, now I just have to write my own functions for calculating time spans in years, weeks, and days using just libc's timediff function since I can't find a preexisting library that does it for you like in Haskell and Julia.
I want to use C for the learning experience and since I can easily compile everything into a single statically linked executable that I can simply copy to vern: no weird incompatibility issues with the Nix environment, no external packaging tools. Just a simple binary upload.
I already uploaded a hello world cgi program, just to see if it's that simple.
https://pta.vern.cc/main.cgi