Files
chatgpt/flake.nix
2026-01-06 14:11:06 +01:00

40 lines
820 B
Nix
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
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
librsvg
];
shellHook = ''
echo "🧟 Environnement Elixir prêt"
echo " Lance : iex zombie_apocalypse.ex"
'';
};
}
);
}