From a6a76ce74c88657dc7f657f238b14f2adcbddbce Mon Sep 17 00:00:00 2001 From: kyehn Date: Fri, 26 Sep 2025 06:55:47 +0800 Subject: [PATCH] fvm: 4.0.0-beta.1 -> 4.0.0 --- pkgs/by-name/fv/fvm/package.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/fv/fvm/package.nix b/pkgs/by-name/fv/fvm/package.nix index 77831eeda270..3fed21626ade 100644 --- a/pkgs/by-name/fv/fvm/package.nix +++ b/pkgs/by-name/fv/fvm/package.nix @@ -5,17 +5,17 @@ runCommand, yq-go, _experimental-update-script-combinators, - gitUpdater, + nix-update-script, }: let - version = "4.0.0-beta.1"; + version = "4.0.0"; src = fetchFromGitHub { owner = "leoafarias"; repo = "fvm"; tag = version; - hash = "sha256-O2VU0cXgrm+Xf85e5l31kfnUOCUI9ZuVQCVRUppqCE4="; + hash = "sha256-gJZHQRFCIlHvyMVr/+FCnZcCO8ZTA1gGyBEaRywbvNQ="; }; in buildDartApplication { @@ -35,8 +35,13 @@ buildDartApplication { yq eval --output-format=json --prettyPrint $src/pubspec.lock > "$out" ''; updateScript = _experimental-update-script-combinators.sequence [ - (gitUpdater { }) - (_experimental-update-script-combinators.copyAttrOutputToFile "fvm.pubspecSource" ./pubspec.lock.json) + (nix-update-script { }) + ( + (_experimental-update-script-combinators.copyAttrOutputToFile "fvm.pubspecSource" ./pubspec.lock.json) + // { + supportedFeatures = [ ]; + } + ) ]; }; @@ -44,6 +49,7 @@ buildDartApplication { description = "Simple CLI to manage Flutter SDK versions"; homepage = "https://github.com/leoafarias/fvm"; license = lib.licenses.mit; + mainProgram = "fvm"; maintainers = [ ]; }; }