From 4817ed4b07aa19532d3cd90715f5087d296a9097 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Thu, 29 Dec 2022 16:54:58 +0900 Subject: Mention guix/nix in trying languages --- blog/advent.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 -- cgit 1.4.1