From f1589e57f54ce3a655ee9d906fb29102832187c6 Mon Sep 17 00:00:00 2001 From: Tee8z Date: Wed, 4 Nov 2026 18:09:43 -0500 Subject: [PATCH] fix(gpui): make the Nix release package evaluate nix/appimage.nix took `src ? fetchurl { ... }` as an argument. callPackage fills any argument whose name nixpkgs defines, and nixpkgs defines `src` as an alias that throws ("renamed to simple-revision-control"), so buzz-gpui-voltage-bin never evaluated, from the release pin in #126 on. Compute src in a let binding instead. The package now builds from v0.2.0+voltage.2, and its --gst-check passes. Signed-off-by: Tee8z --- apps/buzz-gpui/nix/appimage.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/buzz-gpui/nix/appimage.nix b/apps/buzz-gpui/nix/appimage.nix index fa8d1352505..4511ded8d05 100644 --- a/apps/buzz-gpui/nix/appimage.nix +++ b/apps/buzz-gpui/nix/appimage.nix @@ -3,9 +3,12 @@ # users install it without compiling it. The AppImage carries the app, its # provider, Node, Buzz's plugins and GStreamer. The environment supplies # the desktop libraries the AppImage leaves to the system. -{ lib, appimageTools, fetchurl, version, url, hash, src ? fetchurl { inherit url hash; } }: +# `src` is not an argument: callPackage would fill it from nixpkgs' `src` +# alias, which throws. +{ lib, appimageTools, fetchurl, version, url, hash }: let pname = "buzz-gpui"; + src = fetchurl { inherit url hash; }; contents = appimageTools.extractType2 { inherit pname version src; }; in appimageTools.wrapType2 {