Compare commits

...

3 commits

Author SHA1 Message Date
e620178375
chore: update lavalinkPlugins 2025-04-14 20:00:15 -04:00
2c17056ff2
fix: lavalink add udev
gets rid of the error message
2025-04-14 19:42:07 -04:00
ec407d69c0
chore: update nix 2025-04-14 18:47:16 -04:00
5 changed files with 12 additions and 10 deletions

8
flake.lock generated
View file

@ -452,16 +452,16 @@
"nixpkgs-regression": "nixpkgs-regression" "nixpkgs-regression": "nixpkgs-regression"
}, },
"locked": { "locked": {
"lastModified": 1742837300, "lastModified": 1744410622,
"narHash": "sha256-pidBRgonX1k7NJ1K8ML0rX1WWrAuYlGmQWz2xKXyEFY=", "narHash": "sha256-5ytFYIYbPQY1Frt870yb8gNwp2wkqiyGHKg7HQ4DMb0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nix", "repo": "nix",
"rev": "5a4e306cc5853922b292525ed23c59ba07f9d243", "rev": "3094e39dc4087a2f7dcac55acfa07325361e9514",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "5a4e306cc5853922b292525ed23c59ba07f9d243", "ref": "3094e39dc4087a2f7dcac55acfa07325361e9514",
"repo": "nix", "repo": "nix",
"type": "github" "type": "github"
} }

View file

@ -24,7 +24,7 @@
type = "github"; type = "github";
owner = "NixOS"; owner = "NixOS";
repo = "nix"; repo = "nix";
ref = "5a4e306cc5853922b292525ed23c59ba07f9d243"; ref = "3094e39dc4087a2f7dcac55acfa07325361e9514";
inputs.nixpkgs.follows = "stable"; inputs.nixpkgs.follows = "stable";
}; };
#other #other

View file

@ -10,7 +10,7 @@
pluginsDir = lavalinkPlugins; pluginsDir = lavalinkPlugins;
plugins = [ plugins = [
{ {
dependency = "dev.lavalink.youtube:youtube-plugin:1.11.5"; dependency = "dev.lavalink.youtube:youtube-plugin:1.12.0";
enabled = true; enabled = true;
snapshot = false; snapshot = false;
} }

View file

@ -4,6 +4,7 @@
fetchurl, fetchurl,
makeBinaryWrapper, makeBinaryWrapper,
zulu17, zulu17,
udev,
}: }:
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "lavalink"; pname = "lavalink";
@ -23,7 +24,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
mkdir -p "$out/bin" mkdir -p "$out/bin"
makeWrapper '${lib.getExe zulu17}' "$out/bin/lavalink" \ makeWrapper '${lib.getExe zulu17}' "$out/bin/lavalink" \
--add-flags "-jar $out/lib/Lavalink.jar" --add-flags "-jar $out/lib/Lavalink.jar" \
--set 'LD_LIBRARY_PATH' '${lib.makeLibraryPath [ udev ]}'
''; '';
meta.mainProgram = "lavalink"; meta.mainProgram = "lavalink";

View file

@ -4,10 +4,10 @@
}: }:
linkFarm "lavalinkPlugins" [ linkFarm "lavalinkPlugins" [
{ {
name = "youtube-plugin-1.11.5.jar"; name = "youtube-plugin-1.12.0.jar";
path = fetchurl { path = fetchurl {
url = "https://github.com/lavalink-devs/youtube-source/releases/download/1.11.5/youtube-plugin-1.11.5.jar"; url = "https://github.com/lavalink-devs/youtube-source/releases/download/1.12.0/youtube-plugin-1.12.0.jar";
hash = "sha256-Zz4S5mWcsVFWGmN41L34GqZeCOswt/CAn+1PN1XJtbk="; hash = "sha256-M9CDMDGR7fBldPLLG/I5TN21DLNN440nzF1l34MrQK0=";
}; };
} }
] ]