linuxPackages.xpadneo: skip pre-releases in updateScript

This commit is contained in:
Kira Bruneau
2026-04-22 19:13:39 -04:00
parent b86751bc40
commit 0a140ed66b
+9 -4
View File
@@ -36,12 +36,17 @@ stdenv.mkDerivation (finalAttrs: {
installFlags = [ "INSTALL_MOD_PATH=${placeholder "out"}" ];
installTargets = [ "modules_install" ];
passthru.tests = {
xpadneo = nixosTests.xpadneo;
passthru = {
tests.xpadneo = nixosTests.xpadneo;
updateScript = nix-update-script {
extraArgs = [
# Skips pre-releases
"--version-regex"
"^v([\\d.]+)$"
];
};
};
passthru.updateScript = nix-update-script { };
meta = {
description = "Advanced Linux driver for Xbox One wireless controllers";
homepage = "https://atar-axis.github.io/xpadneo";