29 lines
516 B
Nix
29 lines
516 B
Nix
|
{
|
||
|
description = "Elixir devshel";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs";
|
||
|
flake-utils.url = "github:numtide/flake-utils";
|
||
|
};
|
||
|
|
||
|
outputs =
|
||
|
{
|
||
|
self,
|
||
|
nixpkgs,
|
||
|
flake-utils,
|
||
|
}:
|
||
|
flake-utils.lib.eachDefaultSystem (
|
||
|
system:
|
||
|
let
|
||
|
pkgs = import nixpkgs { inherit system; };
|
||
|
in
|
||
|
{
|
||
|
devShells.default =
|
||
|
with pkgs;
|
||
|
mkShell {
|
||
|
packages = [ beam.packages.erlang_26.elixir_1_15 ];
|
||
|
};
|
||
|
}
|
||
|
);
|
||
|
}
|