blob: 096769e459cdeb963a0355f2d4e778b81b4a3b5b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{
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
];
};
});
}
|