From 6db0f02efcbf80b8e6c16e007917a730ec3e1179 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 21 Oct 2024 20:52:04 +0200 Subject: [PATCH] crosvm.updateScript: update cargoHash --- pkgs/applications/virtualization/crosvm/update.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/crosvm/update.py b/pkgs/applications/virtualization/crosvm/update.py index 62e195d3426f..92444d287478 100755 --- a/pkgs/applications/virtualization/crosvm/update.py +++ b/pkgs/applications/virtualization/crosvm/update.py @@ -1,5 +1,5 @@ #! /usr/bin/env nix-shell -#! nix-shell -p common-updater-scripts python3 +#! nix-shell -p common-updater-scripts nix-update python3 #! nix-shell -i python import csv @@ -52,3 +52,6 @@ with urlopen(f'https://chromium.googlesource.com/chromiumos/platform/crosvm/+log # Update the version, git revision, and hash in crosvm's default.nix. subprocess.run(['update-source-version', 'crosvm', f'--rev={rev}', version]) + +# Update cargoHash. +subprocess.run(['nix-update', '--version=skip', 'crosvm'])