diff --git a/pkgs/darwin/finch/default.nix b/pkgs/darwin/finch/default.nix
index 2df29556a62b7fb94c3dbc80524b8c9862d6cae8..615cf8919af9bcdeebecd7f601c96bc4d88ada53 100644
--- a/pkgs/darwin/finch/default.nix
+++ b/pkgs/darwin/finch/default.nix
@@ -2,16 +2,18 @@ { lib, stdenv, buildGoModule, fetchFromGitHub, fetchurl }:
let
arch = lib.head (lib.splitString "-" stdenv.hostPlatform.system);
lima = {
"x86_64-darwin" = fetchurl {
url = "https://deps.runfinch.com/${lib.replaceStrings [ "_" ] [ "-" ] arch}/lima-and-qemu.macos-${arch}.1678817277.tar.gz";
hash = "sha256-HcGuSPWVIn/YP/RmTEpO2p75DHCqaS7Xu1KLqkN1O/M=";
url = "https://deps.runfinch.com/${lib.replaceStrings [ "_" ] [ "-" ] arch}/lima-and-qemu.macos-${arch}.1679936560.tar.gz";
hash = "sha256-WpDR71QwMVi5ztJ0t+2lv3nPdpsrrAZunBNgSUtHags=";
};
"aarch64-darwin" = fetchurl {
url = "https://deps.runfinch.com/${lib.replaceStrings [ "_" ] [ "-" ] arch}/lima-and-qemu.macos-${arch}.1678826933.tar.gz";
hash = "sha256-q+Dki3KxsnqG7xoHLlhmb8amXQ2ANRH/o3f0jbw+U3s=";
url = "https://deps.runfinch.com/${lib.replaceStrings [ "_" ] [ "-" ] arch}/lima-and-qemu.macos-${arch}.1679936560.tar.gz";
hash = "sha256-WpDR71QwMVi5ztJ0t+2lv3nPdpsrrAZunBNgSUtHags=";
};
}.${stdenv.hostPlatform.system};
os = {
"x86_64-darwin" = fetchurl {
url = "https://dl.fedoraproject.org/pub/fedora/linux/releases/37/Cloud/${arch}/images/Fedora-Cloud-Base-37-1.7.${arch}.qcow2";
@@ -25,17 +27,17 @@ }.${stdenv.hostPlatform.system};
in
buildGoModule rec {
pname = "finch";
src = fetchFromGitHub {
owner = "runfinch";
repo = "finch";
rev = "v${version}";
fetchSubmodules = true;
};
subPackages = [ "cmd/finch" ];
application/octet-stream
This content has been proxied by September (3851b).