|
|
|
|
|
by zamalek
750 days ago
|
|
I'm also exploring a post-Nix package manager, wip: https://github.com/porkg/porkg My mantra has been to avoid "getting bored" and inventing DSLs for the longest time. I initially sought to use Nickel-lang, but it was missing some features that would make it an ideal candidate for this. I started writing my own (you may find this in the history) before realizing "WTF are you doing writing another shitty DSL?" I have subsequently decided that shell scripts (or anything you can shebang) are good enough, i.e. pkgbuild inspiration. I also plan to avoid making a derivation the source of reproducibility. Instead, a lockfile will offer that. This should alleviate the issue whereby updating the like of glibc cascades into an entire rebuild. Any *OS and home-manager would need to bring in a configuration language. I think Cue really makes the most sense, but that's still a long way off. Nice to see you used JS instead of yet another DSL :) |
|
1: https://www.nushell.sh/
2: https://www.nushell.sh/book/thinking_in_nu.html#variables-ar...