diff options
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..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 + ]; + }; + }); + }; +} |