Is anyone else doing Advent Of Code in Nix?

https://github.com/fhoekstra/advent_of_code_2024

Recently got started with Nix and Home-Manager. I thought Advent Of Code would be a good way to get more comfortable with the Nix language.

I don't think I ever made it beyond Day 6 though, even in my most comfortable language (Python) so no idea where this will strand.

I am learning a lot about Nix though!

Have you used the Nix language outside of configuration? Let's share and discuss!

22 points · 4 comments · view on lemmy.world

4 Comments

monty33@lemmy.ml · 3 pts · 1y (1 reply)

What's an advent of code? Interested if it will help me learn more!

kintrix@linux.community · 5 pts · 1y

https://adventofcode.com/

An advent calendar of coding puzzles. Dec 1-25 you get a new puzzle every day

kintrix@linux.community · 2 pts · 1y (1 reply)

I definitely am: https://git.sr.ht/~kintrix/aoc2024

(The README is wrong, just copied it over from last year)

F04118F@feddit.nl · 2 pts · 1y

Love the structure of your code. Exposing a part1 and part2 result from the same source file is a great idea