summaryrefslogblamecommitdiffstats
path: root/flake.nix
blob: 096769e459cdeb963a0355f2d4e778b81b4a3b5b (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                



                                                  

                                         
                                         






                                                  
                                                                               


                                          
                                



            
{
  description = "Development shell for aoc2024";

  inputs = {
    nixpkgs = {
      url = "github:nixos/nixpkgs/nixos-unstable";
    };

    flake-utils = {
      url = "github:numtide/flake-utils";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = { self, nixpkgs, flake-utils }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = import nixpkgs { inherit system; };
        beamPkgs = with pkgs.beam_minimal; packagesWith interpreters.erlang_27;
      in {
        devShells.default = pkgs.mkShell {
          buildInputs = [
            beamPkgs.elixir_1_17
          ];
        };
      });
}