flake: added template for elixir

This commit is contained in:
Barna Máté 2025-01-20 07:57:49 +01:00
parent a7c0817ab7
commit fe1a62d205
3 changed files with 34 additions and 0 deletions

View file

@ -27,6 +27,12 @@
inherit pkgs craneLib;
};
};
templates = {
elixir-devshell = {
description = " A basic developer shell for elixir";
path = ./templates/devshells/elixir;
};
};
apps = {
jellyfin-tui = {

0
templates/default.nix Normal file
View file

View file

@ -0,0 +1,28 @@
{
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 ];
};
}
);
}