From 50ca1ec0cff2ab978945d660c7e1ad4da59a431e Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Tue, 5 Nov 2024 00:03:33 +0100 Subject: chore: add Nix flake and clean up ignore files --- 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..d251687 --- /dev/null +++ b/flake.nix @@ -0,0 +1,22 @@ +{ + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + systems.url = "github:nix-systems/default"; + }; + outputs = + { nixpkgs, systems, ... }: + let + eachSystem = + f: nixpkgs.lib.genAttrs (import systems) (system: f (import nixpkgs { inherit system; })); + in + { + devShells = eachSystem (pkgs: { + default = pkgs.mkShell { + buildInputs = with pkgs; [ + zprint + clj-kondo + ]; + }; + }); + }; +} -- cgit v1.2.3