diff --git a/pkgs/applications/virtualization/crosvm/update.py b/pkgs/applications/virtualization/crosvm/update.py index be9de54031b2..825b7b0bb239 100755 --- a/pkgs/applications/virtualization/crosvm/update.py +++ b/pkgs/applications/virtualization/crosvm/update.py @@ -10,9 +10,6 @@ import subprocess from os.path import abspath, dirname, splitext from urllib.request import urlopen -git_path = 'chromiumos/platform/crosvm' -git_root = 'https://chromium.googlesource.com/' - # CrOS version numbers look like this: # [.].. # @@ -50,7 +47,7 @@ with urlopen(f'https://chromium.googlesource.com/chromiumos/platform/crosvm/+log # can be passed straight to fetchGit when imported by Nix. argv = ['nix-prefetch-git', '--fetch-submodules', - '--url', git_root + git_path, + '--url', 'https://chromium.googlesource.com/crosvm/crosvm', '--rev', f'refs/heads/{release_branch}'] output = subprocess.check_output(argv) data['src'] = json.loads(output.decode('utf-8')) diff --git a/pkgs/applications/virtualization/crosvm/upstream-info.json b/pkgs/applications/virtualization/crosvm/upstream-info.json index 70ccec3380dd..8472e854e599 100644 --- a/pkgs/applications/virtualization/crosvm/upstream-info.json +++ b/pkgs/applications/virtualization/crosvm/upstream-info.json @@ -1,7 +1,7 @@ { "version": "103.3", "src": { - "url": "https://chromium.googlesource.com/chromiumos/platform/crosvm", + "url": "https://chromium.googlesource.com/crosvm/crosvm", "rev": "e7db3a5cc78ca90ab06aadd5f08bb151090269b6", "date": "2022-06-01T00:13:12+00:00", "path": "/nix/store/r08jyffmjdq38f8yy57v8wgfjiil6586-crosvm",