Commit 0a140ed6 authored by Kira Bruneau's avatar Kira Bruneau
Browse files

linuxPackages.xpadneo: skip pre-releases in updateScript

parent b86751bc
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -36,11 +36,16 @@ 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";