From 0a682112f1d45e4198634ee79c588a9d5004a39b Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 8 Mar 2024 19:22:54 +0100 Subject: [PATCH] Use custom package erlang_26 for elixir_1_16 --- flake.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 351a604..d727289 100644 --- a/flake.nix +++ b/flake.nix @@ -10,12 +10,21 @@ flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; + + customElixir = pkgs.elixir_1_16.override { + erlang = pkgs.erlang_26; + }; in { devShells = rec { default = pkgs.mkShell { nativeBuildInputs = with pkgs; [ - elixir_1_16 git inotify-tools + customElixir + ]; + + buildInputs = with pkgs; [ + git + inotify-tools ]; }; };