Replies: 14 comments
-
Only if someone using Gentoo will actually package it. This is a community-driven endeavor. I only use Arch so I'm maintaining an AUR package. |
Beta Was this translation helpful? Give feedback.
-
Hi! Just wanted to say I'm happily using this on NixOS. Thanks for your work on this! I packaged it up like this: {
stdenv,
lib,
fetchFromGitHub,
kernel,
}:
stdenv.mkDerivation {
pname = "moza-ff";
version = "unstable-2024-05-29";
src = fetchFromGitHub {
owner = "JacKeTUs";
repo = "moza-ff";
rev = "1ac6938ed4f553183950f12f89f6397f4cf4f605";
hash = "sha256-XPg4VhYHFAUJF+zGO/Uj676Pjbp1L2N1rldxw8wLaAA=";
};
nativeBuildInputs = kernel.moduleBuildDependencies;
postPatch = ''
sed -i 's|depmod|#depmod|' Makefile
'';
makeFlags = kernel.makeFlags ++ [
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
];
installFlags = [
"INSTALL_MOD_PATH=${placeholder "out"}"
];
meta = with lib; {
description = "Force feedback support for MOZA steering wheel";
homepage = "https://github.com/JacKeTUs/moza-ff";
license = licenses.gpl2Plus;
maintainers = [ maintainers.r-burns ];
platforms = platforms.linux;
};
} I'm a nixpkgs committer and I'd be happy to contribute this and maintain it if any other NixOS users want to use the module. |
Beta Was this translation helpful? Give feedback.
-
Hello! Just to let you know: we think "universal-pidff" will better suite the purpose of bringing direct-drive wheels to the life on Linux |
Beta Was this translation helpful? Give feedback.
-
@r-burns I'm using NixOS too, if you want to make a PR to nixpkgs I'd be happy to be tagged as a maintainer for it too. |
Beta Was this translation helpful? Give feedback.
-
@DaRacci I recommend just using the Flatpak version available on Flathub. You only need to add one udev rule manually and you're good to go, without the need to package and maintain anything. I myself use it and only maintain the AUR package as it's trivial. |
Beta Was this translation helpful? Give feedback.
-
@r-burns @DaRacci I am also on NixOS and I packaged both universal-pidff and boxflat in this repo |
Beta Was this translation helpful? Give feedback.
-
While i could add Flatpak support for my System, I currently don't have it nor do i want to enable Flatpak, its just a matter of preference but i would much rather have a native build. @danerieber If you are up for it, it may be worth upstreaming this into nixpkgs, if you end up doing this I'd be happy to help maintain it. |
Beta Was this translation helpful? Give feedback.
-
@DaRacci I made a fork with the package here. I don't have enough time to properly test it right now, and I also need to sit down and read the PR guidelines for nixpkgs, but it would be awesome if you could test it on your hardware and lmk if it works! |
Beta Was this translation helpful? Give feedback.
-
@danerieber I don't actually have a moza wheel to test with yet, I've got one on a preorder and I've just been prepping for it, but the kernel compiles and loads with the module correctly, I've used nixpkgs-review to test it too. Result of 23 packages built:
|
Beta Was this translation helpful? Give feedback.
-
@DaRacci @r-burns I added you both as collaborators on my nixpkgs fork. you can add yourselves as maintainers on the |
Beta Was this translation helpful? Give feedback.
-
@DaRacci submitted! NixOS/nixpkgs#334445 |
Beta Was this translation helpful? Give feedback.
-
Hey guys, are we happy with NixOS packaging? Do we need to wait for someone implementing package for Gentoo emerge, or we can close this issue? :D |
Beta Was this translation helpful? Give feedback.
-
NixOS Side is happy, however it may be worth converting into a discussion for future Distro packaging talks. |
Beta Was this translation helpful? Give feedback.
-
@JacKeTUs - I'd like to package this repo as an RPM to be included in akmods. Would you be open to me submitting a PR for the spec file? |
Beta Was this translation helpful? Give feedback.
-
i can't find it for gentoo as emerge package, will it release for other packages managers?
Beta Was this translation helpful? Give feedback.
All reactions