Use custom package erlang_26 for elixir_1_16

This commit is contained in:
Florian RICHER 2024-03-08 19:22:54 +01:00
parent 338d46bffa
commit 0a682112f1

View file

@ -10,12 +10,21 @@
flake-utils.lib.eachDefaultSystem (system: flake-utils.lib.eachDefaultSystem (system:
let let
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
customElixir = pkgs.elixir_1_16.override {
erlang = pkgs.erlang_26;
};
in in
{ {
devShells = rec { devShells = rec {
default = pkgs.mkShell { default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
elixir_1_16 git inotify-tools customElixir
];
buildInputs = with pkgs; [
git
inotify-tools
]; ];
}; };
}; };