flake.nix 499 B

12345678910111213141516171819202122
  1. {
  2. inputs = {
  3. nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
  4. systems.url = "github:nix-systems/default";
  5. };
  6. outputs =
  7. { nixpkgs, systems, ... }:
  8. let
  9. eachSystem =
  10. f: nixpkgs.lib.genAttrs (import systems) (system: f (import nixpkgs { inherit system; }));
  11. in
  12. {
  13. devShells = eachSystem (pkgs: {
  14. default = pkgs.mkShell {
  15. buildInputs = with pkgs; [
  16. zprint
  17. clj-kondo
  18. ];
  19. };
  20. });
  21. };
  22. }