Merge pull request #144138 from figsoda/update-statix
statix: 0.3.4 -> 0.3.5
This commit is contained in:
commit
15414f0bdd
2 changed files with 4 additions and 4 deletions
|
@ -535,7 +535,7 @@ self: super: {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# check that version is up to date
|
# check that version is up to date
|
||||||
grep 'pname = "statix-vim"' -A 1 flake.nix \
|
grep 'pname = "statix-vim"' -A 1 flake.nix \
|
||||||
| grep -F 'version = "${version}"' flake.nix
|
| grep -F 'version = "${version}"'
|
||||||
|
|
||||||
cd vim-plugin
|
cd vim-plugin
|
||||||
substituteInPlace ftplugin/nix.vim --replace statix ${statix}/bin/statix
|
substituteInPlace ftplugin/nix.vim --replace statix ${statix}/bin/statix
|
||||||
|
|
|
@ -4,16 +4,16 @@ rustPlatform.buildRustPackage rec {
|
||||||
pname = "statix";
|
pname = "statix";
|
||||||
# also update version of the vim plugin in pkgs/misc/vim-plugins/overrides.nix
|
# 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
|
# the version can be found in flake.nix of the source code
|
||||||
version = "0.3.4";
|
version = "0.3.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nerdypepper";
|
owner = "nerdypepper";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
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" ];
|
cargoBuildFlags = lib.optionals withJson [ "--features" "json" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue