From 662043766042340eda9e079cfe18663a81869672 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Fri, 16 Dec 2022 14:43:02 +1300 Subject: [PATCH] lapce: Correct passthru.updateScript gitUpdater does not handle cargoSha256. Use nix-update-script instead. --- pkgs/applications/editors/lapce/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/lapce/default.nix b/pkgs/applications/editors/lapce/default.nix index 3f874f896a4e..811172a534d4 100644 --- a/pkgs/applications/editors/lapce/default.nix +++ b/pkgs/applications/editors/lapce/default.nix @@ -1,7 +1,7 @@ { lib , stdenv , fetchFromGitHub -, gitUpdater +, nix-update-script , rustPlatform , cmake , pkg-config @@ -76,8 +76,8 @@ rustPlatform.buildRustPackage rec { categories = [ "Development" "Utility" "TextEditor" ]; }) ]; - passthru.updateScript = gitUpdater { - rev-prefix = "v"; + passthru.updateScript = nix-update-script { + attrPath = pname; }; meta = with lib; {