···11+{
22+ description = "Advent of Code";
33+44+ inputs = {
55+ nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
66+ };
77+88+ outputs =
99+ { self, nixpkgs }:
1010+ let
1111+ systems = [ "x86_64-linux" ];
1212+ forSystems = function: nixpkgs.lib.genAttrs systems (system: function (import nixpkgs { inherit system; }));
1313+ in
1414+ {
1515+ formatter = forSystems (pkgs: pkgs.nixfmt-tree.override { settings.formatter.nixfmt.options = [ "-w 120" ]; });
1616+ devShells = forSystems (pkgs: {
1717+ "2015" = pkgs.mkShellNoCC {
1818+ buildInputs = with pkgs; [
1919+ erlang
2020+ # erlang-ls # Doesn't seem to work well with escritps
2121+ erlfmt
2222+ ];
2323+ };
2424+ });
2525+ # TODO: For the `apps` it should be able to run a specific day on a specific year of AOC or the entire year if no
2626+ # day was specified.
2727+ };
2828+}
+12
license
···11+Copyright (C) 2025, yemou <dev@mou.pink>
22+33+Permission to use, copy, modify, and/or distribute this software for any purpose
44+with or without fee is hereby granted.
55+66+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
77+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
88+FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
99+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
1010+OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1111+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
1212+THIS SOFTWARE.
+5
readme.md
···11+# [Advent of Code](https://adventofcode.com)
22+These are my solutions for Advent of Code in various languages.
33+The goal is to do each year in a different language mostly as a way of learning a new language.
44+55+Currently working on year 2015 using [`erlang`](https://erlang.org)