Commit c3304ee4 authored by Emily's avatar Emily
Browse files

cargo-nextest: add update script

parent cc4f98be
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, rustPlatform, fetchFromGitHub, nix-update-script }:

rustPlatform.buildRustPackage rec {
  pname = "cargo-nextest";
@@ -16,6 +16,7 @@ rustPlatform.buildRustPackage rec {
  cargoBuildFlags = [ "-p" "cargo-nextest" ];
  cargoTestFlags = [ "-p" "cargo-nextest" ];

  passthru.updateScript = nix-update-script { };

  meta = with lib; {
    description = "Next-generation test runner for Rust projects";