From ee68c6a4043e6e0bbdd6f9c23fba86f516f1ae71 Mon Sep 17 00:00:00 2001 From: Producer Matt <58014742+ProducerMatt@users.noreply.github.com> Date: Sun, 16 Jun 2024 15:24:16 -0500 Subject: [PATCH] try tweaking erlang version --- shell.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/shell.nix b/shell.nix index a693ff3..611d2e5 100644 --- a/shell.nix +++ b/shell.nix @@ -1,12 +1,13 @@ { pkgs ? import {} }: -with pkgs; let + erl = with pkgs; beam.packages.erlang_26; + # define packages to install with special handling for OSX inputs = [ - elixir - elixir-ls - libyaml - libyaml.dev + erl.elixir_1_16 + erl.elixir-ls + pkgs.libyaml + pkgs.libyaml.dev ]; # define shell startup command @@ -24,7 +25,7 @@ let #alias pip="PIP_PREFIX='$(pwd)/_build/pip_packages' \pip" #export PYTHONPATH="$(pwd)/_build/pip_packages/lib/python3.7/site-packages:$PYTHONPATH" -in mkShell { +in pkgs.mkShell { buildInputs = inputs; shellHook = hooks; }