This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

pkgs.orca: pin 1.4.224, upstream deleted 1.4.225 and 1.4.226

+49 -5
+17
pkgs/flake-module.nix
··· 32 32 }; 33 33 in 34 34 lib.filterAttrs (name: pkg: name != "flake-module" && pkg != null) allPackages; 35 + 36 + # Fails the build (not the evaluation) once llm-agents moves past the 37 + # releases stablyai deleted, so the pin in pkgs/orca gets dropped. An 38 + # assert in pkgs/orca would be swallowed by the tryEval above. 39 + checks.orca-pin = 40 + let 41 + inherit (inputs'.llm-agents.packages.orca) version; 42 + in 43 + pkgs.runCommand "orca-pin" { } ( 44 + if version == "1.4.226" then 45 + "touch $out" 46 + else 47 + '' 48 + echo "llm-agents now ships orca ${version}; remove the 1.4.224 pin in pkgs/orca and this check" >&2 49 + exit 1 50 + '' 51 + ); 35 52 }; 36 53 }
+3 -3
configs/orca/server.nix
··· 10 10 ... 11 11 }: 12 12 let 13 - llm = self.inputs.llm-agents.packages.${pkgs.system}; 13 + inherit (self.packages.${pkgs.system}) orca; 14 14 port = 6768; 15 15 in 16 16 { ··· 32 32 self.keys.ssh.massulus.public 33 33 ]; 34 34 packages = [ 35 - llm.orca 35 + orca 36 36 pkgs.omp 37 37 # GitHub issues/PRs in the work item lists. 38 38 pkgs.gh ··· 52 52 "/run/current-system/sw" 53 53 ]; 54 54 serviceConfig = { 55 - ExecStart = "${llm.orca}/bin/orca serve --port ${toString port} --pairing-address ${config.networking.hostName}.r"; 55 + ExecStart = "${orca}/bin/orca serve --port ${toString port} --pairing-address ${config.networking.hostName}.r"; 56 56 Restart = "on-failure"; 57 57 RestartSec = 10; 58 58 User = "orca";
+29 -2
pkgs/orca/package.nix
··· 5 5 { 6 6 stdenvNoCC, 7 7 runtimeShell, 8 + fetchurl, 8 9 llm-agents, 9 10 }: 11 + let 12 + # stablyai deleted the v1.4.225 and v1.4.226 releases, so llm-agents' src 404s. 13 + version = "1.4.224"; 14 + platforms = { 15 + x86_64-linux = { 16 + file = "orca-ide_${version}_amd64.deb"; 17 + hash = "sha256-8Dolyl9dHc5Nl5uCOGXevEC0ikGYsbqAbR9KtXYHbAo="; 18 + }; 19 + aarch64-linux = { 20 + file = "orca-ide_${version}_arm64.deb"; 21 + hash = "sha256-89BqCDSQaJzTymaIHtJwfHj2MTTSptk5KEruAFov/NE="; 22 + }; 23 + aarch64-darwin = { 24 + file = "Orca-${version}-arm64-mac.zip"; 25 + hash = "sha256-3tqvPVAipAYnHA0JpL6l2jsXwu32DpGcfkqxKDrXqBQ="; 26 + }; 27 + }; 28 + platform = platforms.${stdenvNoCC.hostPlatform.system}; 29 + pinned = llm-agents.orca.overrideAttrs { 30 + inherit version; 31 + src = fetchurl { 32 + url = "https://github.com/stablyai/orca/releases/download/v${version}/${platform.file}"; 33 + inherit (platform) hash; 34 + }; 35 + }; 36 + in 10 37 if stdenvNoCC.hostPlatform.isDarwin then 11 - llm-agents.orca.overrideAttrs (old: { 38 + pinned.overrideAttrs (old: { 12 39 postInstall = (old.postInstall or "") + '' 13 40 rm $out/bin/orca-ide 14 41 cat >$out/bin/orca-ide <<EOF ··· 19 46 ''; 20 47 }) 21 48 else 22 - llm-agents.orca 49 + pinned