1
Fork 0
mirror of https://github.com/RGBCube/AdventOfCode synced 2025-07-27 20:17:43 +00:00

Add day 1 part 1

This commit is contained in:
RGBCube 2023-12-01 18:00:08 +03:00
parent 781a8c6669
commit 58850f81a6
No known key found for this signature in database
4 changed files with 1067 additions and 0 deletions

23
flake.nix Normal file
View file

@ -0,0 +1,23 @@
{
description = "RGBCube's Advent of Code Solutions.";
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};
};
outputs = { nixpkgs, ... }: let
lib = nixpkgs.lib;
pathToResult = path: import ./${path}.nix {
inherit lib;
input = builtins.concatStringsSep "\n"
(builtins.filter (line: line != "")
(lib.splitString "\n" (builtins.readFile ./${path}.in)));
};
in lib.genAttrs [
"2023/1-1"
] pathToResult;
}