+/AoC

advent of code

git clone https://git.julia.blue/+/AoC

Julia RyanFix single digit items3a4252c

master
625 B24 linesraw
1{
2  description = "dev shell to run my advent of code solutions";
3  inputs = {
4    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
5    utils.url = "github:numtide/flake-utils";
6  };
7  outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
8    let
9      pkgs = nixpkgs.legacyPackages.${system};
10  in {
11
12    devShells.default = pkgs.mkShell {
13      packages = with pkgs; [
14        aoc-cli
15        python3
16        uiua-unstable
17        # (uiua-unstable.override {webcamSupport = true; windowSupport = true; })
18      ] ++ lib.optionals (system == "x86_64-linux") [
19        j
20      ]
21      ;
22    };
23  });
24}