Skip to content

Commit

Permalink
Adding shell.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
martin committed Mar 6, 2026
1 parent d6bea6b commit 55e2dfe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>6.0.1</version>
<version>5.11.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
8 changes: 8 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{ pkgs ? import <nixpkgs> {} }:

let
jdk = pkgs.jdk25;
in pkgs.mkShell {
buildInputs = [ jdk pkgs.maven ];
JAVA_HOME = "${jdk}";
}

0 comments on commit 55e2dfe

Please sign in to comment.