-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
Package request: moondeck-buddy #354802
Comments
I tried getting this working a bit ago in a flake but gave up. There seem to be some dependencies that I'm either too incompetent to find, or simply don't exist yet in nixpkgs. Would love if we could get this though. Someone could also try repacking / wrapping (probably the wrong term) the app image, but I couldn't get the app image to run. It seems to require external dependencies. |
Yeah, the appimage has never worked for me on NixOS. I've tried to package it a few times before as well and didn't have the patience to figure it out. |
I packaged this in my flake a while ago. I don't use it anymore, but it worked when I tried it. As long as you open the required port (default: 5999). The latest release (1.6.2) only builds on 24.05, upgraded dependencies broke it. This was recently fixed upstream, but there is no stable release yet. Needs to be built with {
stdenv,
lib,
fetchFromGitHub,
qt6,
ninja,
cmake,
wrapQtAppsHook,
procps,
libXrandr,
fuse,
xcb-util-cursor,
steam,
}:
let
pname = "moondeck-buddy";
#version = "1.6.2";
version = "ffb52260e08f6aa354c147ffe957f323f386d737";
src = fetchFromGitHub {
owner = "FrogTheFrog";
repo = "moondeck-buddy";
#rev = "v${version}";
rev = version;
sha256 = "sha256-wPkMryosIltohWssVHbpBe+8WlHWJA4Tcb5AXBZGIHo=";
fetchSubmodules = true;
};
in
stdenv.mkDerivation {
inherit pname version src;
nativeBuildInputs = [
ninja
cmake
wrapQtAppsHook
];
buildInputs = [
qt6.qtbase
qt6.qthttpserver
libXrandr
procps
steam
qt6.qtwebsockets
fuse
xcb-util-cursor
];
postPatch = ''
substituteInPlace src/lib/os/linux/steamregistryobserver.cpp \
--replace-fail /usr/bin/steam ${lib.getExe steam};
'';
} |
That's awesome! Thanks for sharing. I'll probably wait for a new stable release before futzing with it again. |
I opened a PR to add this (#375287) a couple days ago, hopefully it doesn't take too long to get merged! @nuko2MB thanks for the snippet! I was handling the steam binary issue by setting the path in the settings file, so patching the file is a much better way to go about this, I've just updated my PR to include it! Question: would it make more sense to change the path to |
Using Not patching it is always an option, but since the code expects an absolute path it would require something like a home-manager module to properly set the config value to the store path.
This seems somewhat niche to me and if desired could be mitigated with While I'm here, in your derivation |
Project description
A server-side part of the MoonDeck plugin for the SteamDeck.
Metadata
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: