mirror of
https://github.com/RGBCube/AdventOfCode
synced 2025-07-27 20:17:43 +00:00
Add day 1 part 2
This commit is contained in:
parent
3a223b8219
commit
dfda2c002c
4 changed files with 1047 additions and 4 deletions
|
@ -10,14 +10,15 @@
|
|||
outputs = { nixpkgs, ... }: let
|
||||
lib = nixpkgs.lib;
|
||||
|
||||
pathToResult = path: import ./${path}.nix {
|
||||
pathToResult = path: (import ./${path}.nix {
|
||||
inherit lib;
|
||||
|
||||
input = builtins.concatStringsSep "\n"
|
||||
(builtins.filter (line: line != "")
|
||||
(lib.splitString "\n" (builtins.readFile ./${path}.in)));
|
||||
};
|
||||
}).result;
|
||||
in lib.genAttrs [
|
||||
"2023/1-1"
|
||||
"2023/1-2"
|
||||
] pathToResult;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue