I’ve published a small project of mine, which I called mudenv
It’s a library built atop labs’ lib, which provides the basics to make development environments with nix-shell
. For now, it looks a lot like an undocumented and dumbed down numtide/devshell (especially because right now it relies entirely on nixpkgs for any derivation, including writing text files), but the plan is to use as much from aux-labs as possible. The repo’s shell.nix
acts as an example (for now), it provides a rust toolchain from fenix and allows compiling the create openssl-sys
from source and running binaries that dynamically link against openssl
.
I’m hoping to get equivalents of nixpkgs’ writeText
and buildEnv
in aux labs (I’ve opened an issue) so that nixpkgs is not needed by default.
Feel free to hack around ! I’m pretty sure there’s a ton of buggy edge cases (notably I haven’t tested it with flakes and nix develop
and I’m pretty sure it doesn’t work quite right).
The config API is also very much a WIP, I’d be glad to get feedback and suggestions !