Commit 845e2862 authored by Sigmanificient's avatar Sigmanificient
Browse files

gfold: set updateScript

parent 0dc3bb07
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  rustPlatform,
  testers,
  mold,
  nix-update-script,
}:

rustPlatform.buildRustPackage (finalAttrs: {
@@ -22,11 +23,15 @@ rustPlatform.buildRustPackage (finalAttrs: {

  nativeBuildInputs = [ mold ];

  passthru.tests.version = testers.testVersion {
  passthru = {
    updateScript = nix-update-script { };

    tests.version = testers.testVersion {
      package = gfold;
      command = "gfold --version";
      inherit (finalAttrs) version;
    };
  };

  meta = {
    description = "CLI tool to help keep track of your Git repositories, written in Rust";