Skip to content

.../vim-plugins/update.py sometimes changes hash and nothing else #157609

Description

@malob

Describe the bug

Today when I ran update.py as part of #157581 and #157604, the sha256 hash for vim-colorschemes was changed, but there was no update to the rev and version (which makes sense since the current rev in generated.nix is up to date).

Steps To Reproduce

Steps to reproduce the behavior:

  1. In the nixpkgs repo run GITHUB_API_TOKEN=[token] ./pkgs/misc/vim-plugins/update.py --no-commit
  2. Run git diff and observe that the sha256 hash for vim-colorschemes was changed.
diff --git a/pkgs/misc/vim-plugins/generated.nix b/pkgs/misc/vim-plugins/generated.nix
index 09fe8819a5d..de95c8d969a 100644
--- a/pkgs/misc/vim-plugins/generated.nix
+++ b/pkgs/misc/vim-plugins/generated.nix
@@ -7680,7 +7680,7 @@ final: prev:
       owner = "flazz";
       repo = "vim-colorschemes";
       rev = "fd8f122cef604330c96a6a6e434682dbdfb878c9";
-      sha256 = "1cg8q7w0vgl73aw1b9zz0zh5vw5d2pm8pm54fhfzva4azg56f416";
+      sha256 = "0kpsf6j20fgblc8vhqn7ymr52v2d1h52vc7rbxmxfwdm80nvv3g5";
     };
     meta.homepage = "https://github.com/flazz/vim-colorschemes/";
   };

Expected behavior

The hash should not change if the source has not changed.

Notify maintainers

@jonringer @softinio @teto @Flakebi

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

nix run nixpkgs#nix-info -- -m
 - system: `"aarch64-darwin"`
 - host os: `Darwin 21.3.0, macOS 12.2`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.5.1`
 - channels(root): `"nixpkgs-21.11pre326821.509d236edf0"`
 - nixpkgs: `/Users/malo/.config/nixpkgs/nixpkgs.nix`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: vimAdvanced text editor

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions