diff options
author | Alexandre Jesus <adbjesus@gmail.com> | 2024-12-03 00:26:58 +0000 |
---|---|---|
committer | Alexandre Jesus <adbjesus@gmail.com> | 2024-12-03 00:41:29 +0000 |
commit | 6da10b268dd639594cb5a8cc6e9bbb86ce4beb5e (patch) | |
tree | 12242f658c49c0cbcf4f8bf987f0f8a52ee51f2f /flake.nix | |
download | aoc2024-6da10b268dd639594cb5a8cc6e9bbb86ce4beb5e.tar.gz aoc2024-6da10b268dd639594cb5a8cc6e9bbb86ce4beb5e.zip |
Days 1 and 2
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..3e5ccdd --- /dev/null +++ b/flake.nix @@ -0,0 +1,22 @@ +{ + description = "Development shell for aoc2024"; + + inputs = { + 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 { + buildInputs = [ + pkgs.elixir + pkgs.elixir-ls + ]; + }; + }); +} |