mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
Compare commits
No commits in common. "e620178375d299846a5037ea79c0e8f57d8d98e7" and "894ead548aa4adff2cf46acd0670a7318fbdedd4" have entirely different histories.
e620178375
...
894ead548a
5 changed files with 10 additions and 12 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -452,16 +452,16 @@
|
||||||
"nixpkgs-regression": "nixpkgs-regression"
|
"nixpkgs-regression": "nixpkgs-regression"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744410622,
|
"lastModified": 1742837300,
|
||||||
"narHash": "sha256-5ytFYIYbPQY1Frt870yb8gNwp2wkqiyGHKg7HQ4DMb0=",
|
"narHash": "sha256-pidBRgonX1k7NJ1K8ML0rX1WWrAuYlGmQWz2xKXyEFY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
"rev": "3094e39dc4087a2f7dcac55acfa07325361e9514",
|
"rev": "5a4e306cc5853922b292525ed23c59ba07f9d243",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "3094e39dc4087a2f7dcac55acfa07325361e9514",
|
"ref": "5a4e306cc5853922b292525ed23c59ba07f9d243",
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
type = "github";
|
type = "github";
|
||||||
owner = "NixOS";
|
owner = "NixOS";
|
||||||
repo = "nix";
|
repo = "nix";
|
||||||
ref = "3094e39dc4087a2f7dcac55acfa07325361e9514";
|
ref = "5a4e306cc5853922b292525ed23c59ba07f9d243";
|
||||||
inputs.nixpkgs.follows = "stable";
|
inputs.nixpkgs.follows = "stable";
|
||||||
};
|
};
|
||||||
#other
|
#other
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
pluginsDir = lavalinkPlugins;
|
pluginsDir = lavalinkPlugins;
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
dependency = "dev.lavalink.youtube:youtube-plugin:1.12.0";
|
dependency = "dev.lavalink.youtube:youtube-plugin:1.11.5";
|
||||||
enabled = true;
|
enabled = true;
|
||||||
snapshot = false;
|
snapshot = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
fetchurl,
|
fetchurl,
|
||||||
makeBinaryWrapper,
|
makeBinaryWrapper,
|
||||||
zulu17,
|
zulu17,
|
||||||
udev,
|
|
||||||
}:
|
}:
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "lavalink";
|
pname = "lavalink";
|
||||||
|
|
@ -24,8 +23,7 @@ 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";
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,10 @@
|
||||||
}:
|
}:
|
||||||
linkFarm "lavalinkPlugins" [
|
linkFarm "lavalinkPlugins" [
|
||||||
{
|
{
|
||||||
name = "youtube-plugin-1.12.0.jar";
|
name = "youtube-plugin-1.11.5.jar";
|
||||||
path = fetchurl {
|
path = fetchurl {
|
||||||
url = "https://github.com/lavalink-devs/youtube-source/releases/download/1.12.0/youtube-plugin-1.12.0.jar";
|
url = "https://github.com/lavalink-devs/youtube-source/releases/download/1.11.5/youtube-plugin-1.11.5.jar";
|
||||||
hash = "sha256-M9CDMDGR7fBldPLLG/I5TN21DLNN440nzF1l34MrQK0=";
|
hash = "sha256-Zz4S5mWcsVFWGmN41L34GqZeCOswt/CAn+1PN1XJtbk=";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue