Something went wrong. Try again.
Code for the Advent of Code event
aoc advent-of-code
Something went wrong. Try again.
advent-of-code flake.nix
432 B · 20 lines
Nix
at main
123456789101112131415161718192021{ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; };
outputs = inputs @ { self, nixpkgs, }: let inherit (nixpkgs) lib; supportedSystems = lib.systems.flakeExposed; forAllSystems = lib.genAttrs supportedSystems; in { devShells = forAllSystems (system: let pkgs = import nixpkgs {inherit system;}; in { default = pkgs.callPackage ./shell.nix {}; }); };}