Use custom package erlang_26 for elixir_1_16
This commit is contained in:
parent
338d46bffa
commit
0a682112f1
1 changed files with 10 additions and 1 deletions
11
flake.nix
11
flake.nix
|
@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue