From 6da10b268dd639594cb5a8cc6e9bbb86ce4beb5e Mon Sep 17 00:00:00 2001 From: Alexandre Jesus Date: Tue, 3 Dec 2024 00:26:58 +0000 Subject: Days 1 and 2 --- flake.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') 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 + ]; + }; + }); +} -- cgit v1.2.3