chore: add Nix dev shell with JDK 21, Gradle and ffmpeg

This commit is contained in:
TapTap committed 2026-11-13 11:47:10 +00:00
1 parent e194badefb
commit 1f73d901d5
2 files changed
+20

No files matched your search

+1
View File
@@ -390,6 +390,7 @@ cp config/library.example.yaml config/library.yaml
cp config/users.example.yaml config/users.yaml
mkdir -p media/music media/longform
# edit the paths in config/library.yaml to point at ./media/*
nix-shell # optional: JDK 21, Gradle, ffmpeg and sqlite
./gradlew run
```
+19
View File
@@ -0,0 +1,19 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
packages = with pkgs; [
jdk21
gradle
ffmpeg
sqlite
git
curl
];
JAVA_HOME = "${pkgs.jdk21}/lib/openjdk";
shellHook = ''
echo "MusicManager dev shell (JDK 21, Gradle, ffmpeg, sqlite)"
java -version
'';
}