From 75c279bf1be3149e042e4668fbb14fbd4109314a Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 1 Aug 2023 17:20:37 +0200 Subject: [PATCH] vimPlugins.sniprun: 1.3.5 -> 1.3.6 --- pkgs/applications/editors/vim/plugins/overrides.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 42f3de7f6286..3007625285c3 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -966,18 +966,23 @@ self: super: { sniprun = let - version = "1.3.5"; + version = "1.3.6"; src = fetchFromGitHub { owner = "michaelb"; repo = "sniprun"; rev = "v${version}"; - hash = "sha256-D2nHei7mc7Yn8rgFiWFyaR87wQuryv76B25BYOpyp2I="; + hash = "sha256-1xvB/YhpHlOhxbkIGlgQyTlO5ljWPHfOm+tuhKRTXAw="; }; sniprun-bin = rustPlatform.buildRustPackage { pname = "sniprun-bin"; inherit version src; - cargoHash = "sha256-TG84BeYm7K5Dn0CvMvv1gzqeX246JPks1qcwkfcsG8c="; + # Cargo.lock is outdated + preBuild = '' + cargo update --offline + ''; + + cargoHash = "sha256-pML4ZJYivC/tu/7yvbB/VHfXTT+UpLZuS1Y3iNXt2Ks="; nativeBuildInputs = [ makeWrapper ];