lapce: Correct passthru.updateScript

gitUpdater does not handle cargoSha256.  Use nix-update-script instead.
This commit is contained in:
Aidan Gauland
2022-12-16 14:43:02 +13:00
parent b46b470565
commit 6620437660
+3 -3
View File
@@ -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; {