qc71_laptop: add updateScript

+5
+5
pkgs/os-specific/linux/qc71_laptop/default.nix
··· 4 fetchFromGitHub, 5 kernel, 6 kernelModuleMakeFlags, 7 }: 8 9 stdenv.mkDerivation rec { ··· 29 install -D qc71_laptop.ko -t $out/lib/modules/${kernel.modDirVersion}/extra 30 runHook postInstall 31 ''; 32 33 meta = with lib; { 34 description = "Linux driver for QC71 laptop";
··· 4 fetchFromGitHub, 5 kernel, 6 kernelModuleMakeFlags, 7 + nix-update-script, 8 }: 9 10 stdenv.mkDerivation rec { ··· 30 install -D qc71_laptop.ko -t $out/lib/modules/${kernel.modDirVersion}/extra 31 runHook postInstall 32 ''; 33 + 34 + passthru.updateScript = nix-update-script { 35 + extraArgs = [ "--version=branch" ]; 36 + }; 37 38 meta = with lib; { 39 description = "Linux driver for QC71 laptop";