flake.nix 554 B

12345678910111213141516171819202122232425
  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. clojure
  19. jdk
  20. nodejs
  21. ];
  22. };
  23. });
  24. };
  25. }