{ description = "Posuzovani shody"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; flake-compat = { url = "github:edolstra/flake-compat"; flake = false; }; }; outputs = { self, nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; overlays = [ (self: super: let jvm = super.jdk17_headless; in { jre = jvm; jdk = jvm; }) ]; }; in { devShell = with pkgs; mkShell { buildInputs = [ jre ammonite coursier sbt scalafmt ]; }; }); }