This commit is contained in:
Awen Lelu
2026-01-06 12:32:35 +01:00
commit d48f454dce
7 changed files with 333 additions and 0 deletions

37
flake.nix Normal file
View File

@@ -0,0 +1,37 @@
{
description = "Environnement de développement Elixir pour la simulation d'apocalypse zombie";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
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 = pkgs.mkShell {
name = "elixir-zombie-dev";
packages = with pkgs; [
elixir
erlang
elixir-ls
];
shellHook = ''
echo "🧟 Environnement Elixir prêt"
echo " Lance : iex zombie_apocalypse.ex"
'';
};
}
);
}