diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-12-29 16:54:58 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-12-29 16:54:58 +0900 |
commit | 4817ed4b07aa19532d3cd90715f5087d296a9097 (patch) | |
tree | 60eccf8ff86c167a47a175b7f57ffb4d9551209f | |
parent | 7f7bd1bc2767a80875f79a01b1b0135e841d652a (diff) | |
download | site-4817ed4b07aa19532d3cd90715f5087d296a9097.tar.gz |
Mention guix/nix in trying languages
-rw-r--r-- | blog/advent.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/blog/advent.md b/blog/advent.md index 8eceb82..eac8322 100644 --- a/blog/advent.md +++ b/blog/advent.md @@ -25,6 +25,15 @@ Scheme, C, C++, Common Lisp, Lua, Raku, Go, Rust and Zig. I am only proficient in over half of the listed languages, but dura lex, sed lex, I'd already had my CP first time with the rest. +To try any new language, all I have to do is dropping into an ephemeral shell +with its implementation using `nix-shell` or `guix shell` without the fear +of bloating up my systems. I'm running [NixOS on my laptop](/blog/butter) +with [nixpkgs] being one of the largest downstream repositories, including +everything but the kitchen sink. On the work desktop, I installed Guix System +which has a decent [set of packages][gnu] and [nix service][gnix] in case +something is missing. Every update, I run [garbage] [collection] and get rid +of all unnecessary software, i.e. those not [declared][guix] [in my config][nix]. + ## Day One The first day should have been the warm up so I challenged myself @@ -180,6 +189,14 @@ also give it a try, who knows, it could be much [gay]er than you'd expect! [UNIST]: https://unist.ac.kr [Advent of Code]: https://adventofcode.com +[nixpkgs]: https://search.nixos.org/packages +[gnu]: https://packages.guix.gnu.org +[gnix]: https://git.sr.ht/~cnx/dotfiles/tree/b53f96565b8c/item/guix/system.scm#L51 +[garbage]: https://nixos.org/manual/nix/stable/command-ref/nix-collect-garbage.html +[collection]: https://guix.gnu.org/manual/en/html_node/Invoking-guix-gc.html +[guix]: https://git.sr.ht/~cnx/dotfiles/tree/master/item/guix +[nix]: https://git.sr.ht/~cnx/dotfiles/tree/master/item/nix + [Vim]: https://www.vim.org [Born Again]: https://www.youtube.com/watch?v=k5E6CExu204 |