advent-of-code/2024/flake.nix

17 lines
371 B
Nix
Raw Normal View History

2024-12-02 16:19:17 +01:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = { self, nixpkgs }: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.${system} = {
day01 = pkgs.callPackage ./day01 { };
day02 = pkgs.callPackage ./day02 { };
2024-12-03 08:31:04 +01:00
day03 = pkgs.callPackage ./day03 { };
2024-12-02 16:19:17 +01:00
};
};
}