-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lavalink: init at 4.0.8; nixos/lavalink: init #344687
base: master
Are you sure you want to change the base?
Conversation
ba653a0
to
cbb5a8d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename your title to lavalink: init at 4.0.8; nixos/lavalink: init
I haven't check the nixos module. |
1b5659e
to
2a04599
Compare
I addressed all of the above in the recent pushes |
pkgs/by-name/la/lavalink/package.nix
Outdated
]; | ||
|
||
buildInputs = [ | ||
systemd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was due to this warning during runtime:
o.s.os.linux.LinuxOperatingSystem : Did not find udev library in operating system. Some features may not work.
I just tested it again and it doesn't seem to have fixed the issue.
I'm not sure how to solve this issue.
I tried installing libudev
using
(systemd.override {
buildLibsOnly = true;
})
and systemdLibs
but neither seem to work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest we can build from source.
I've seen other packages with the same approach, so I'm not sure to why? |
@nanoyaki According to manual, we'd better build from source. But now it's ok if you don't want to do it. |
Description of changes
A standalone audio sending node based on Lavaplayer and Koe.
This adds the package for Lavalink and a corresponding nixos module.
I tested the program with and without plugins and several different configurations on my local computer, and a remote nixos machine.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.