From 946f55cc0475c2a0979ba7a751abc84d4d21375d Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 1 Nov 2021 11:59:54 -0400 Subject: [PATCH] statix: 0.3.4 -> 0.3.5 --- pkgs/misc/vim-plugins/overrides.nix | 2 +- pkgs/tools/nix/statix/default.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix index bf79e1dc25de..bcee983811de 100644 --- a/pkgs/misc/vim-plugins/overrides.nix +++ b/pkgs/misc/vim-plugins/overrides.nix @@ -535,7 +535,7 @@ self: super: { postPatch = '' # check that version is up to date grep 'pname = "statix-vim"' -A 1 flake.nix \ - | grep -F 'version = "${version}"' flake.nix + | grep -F 'version = "${version}"' cd vim-plugin substituteInPlace ftplugin/nix.vim --replace statix ${statix}/bin/statix diff --git a/pkgs/tools/nix/statix/default.nix b/pkgs/tools/nix/statix/default.nix index fdecf36717aa..c78ace218c08 100644 --- a/pkgs/tools/nix/statix/default.nix +++ b/pkgs/tools/nix/statix/default.nix @@ -4,16 +4,16 @@ rustPlatform.buildRustPackage rec { pname = "statix"; # also update version of the vim plugin in pkgs/misc/vim-plugins/overrides.nix # the version can be found in flake.nix of the source code - version = "0.3.4"; + version = "0.3.5"; src = fetchFromGitHub { owner = "nerdypepper"; repo = pname; rev = "v${version}"; - sha256 = "sha256-8xWtwa9ZtkcpWvLG2QS3jPlz2c+E5MjYWhZ/g5bjhkc="; + sha256 = "sha256-vJvHmg6X/B6wQYjeX1FZC4MDGo0HkKbTmQH+l4tZAwg="; }; - cargoSha256 = "sha256-f8f5wJyK+q6zTfNiCRN89ptlSWfSnrzLyefTIpw5mts="; + cargoSha256 = "sha256-OfLpnVe1QIjpjpD4ticG/7AxPGFMMjBWN3DdLZq6pA8="; cargoBuildFlags = lib.optionals withJson [ "--features" "json" ];