feat: days 1 2 3 done with duckdb

This commit is contained in:
Xavier Morel
2025-12-03 17:00:56 +01:00
commit 687b84d9a7
7 changed files with 461 additions and 0 deletions

41
flake.nix Normal file
View File

@@ -0,0 +1,41 @@
{
description = "Advent of Code 2025";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
devenv.url = "github:cachix/devenv";
};
outputs =
{
self,
nixpkgs,
devenv,
...
}@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
lib = pkgs.lib;
in
{
devShells.${system}.default = devenv.lib.mkShell {
inherit inputs pkgs;
modules = [
(
{ pkgs, config, ... }:
{
# languages.enable = true;
packages = with pkgs; [
duckdb
];
enterShell = ''
echo "Thanks Topaz!"
'';
}
)
];
};
};
}