advent-of-code/flake.nix

17 lines
426 B
Nix
Raw Normal View History

2022-12-01 21:38:11 +01:00
{
inputs.nixpkgs.url = "nixpkgs/nixos-22.11";
outputs = { self, nixpkgs }: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.${system} = {
2022-12-04 15:04:22 +01:00
day01 = pkgs.callPackage ./day01 { };
day02 = pkgs.callPackage ./day02 { };
day03 = pkgs.callPackage ./day03 { };
day04 = pkgs.callPackage ./day04 { };
2022-12-05 10:28:57 +01:00
day05 = pkgs.callPackage ./day05 { };
2022-12-01 21:38:11 +01:00
};
};
2022-12-03 13:12:25 +01:00
}