From 8362e80cbdda472c2a92d9566e511cbce5a9ecf5 Mon Sep 17 00:00:00 2001 From: Alexandre Jesus Date: Sat, 7 Dec 2024 13:34:49 +0000 Subject: Day 6 --- flake.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 3e5ccdd..096769e 100644 --- a/flake.nix +++ b/flake.nix @@ -2,8 +2,13 @@ description = "Development shell for aoc2024"; inputs = { + nixpkgs = { + url = "github:nixos/nixpkgs/nixos-unstable"; + }; + flake-utils = { url = "github:numtide/flake-utils"; + inputs.nixpkgs.follows = "nixpkgs"; }; }; @@ -11,11 +16,11 @@ 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 = [ - pkgs.elixir - pkgs.elixir-ls + beamPkgs.elixir_1_17 ]; }; }); -- cgit v1.2.3