From 2f852c210864ef1483e4d3f813d05016d7b17b11 Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Sun, 12 Jul 2026 19:46:33 +0100 Subject: [PATCH] concord-tui: 2.2.13 -> 2.3.5 --- pkgs/by-name/co/concord-tui/package.nix | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/co/concord-tui/package.nix b/pkgs/by-name/co/concord-tui/package.nix index 906a3f885b5e..b6554a5202e1 100644 --- a/pkgs/by-name/co/concord-tui/package.nix +++ b/pkgs/by-name/co/concord-tui/package.nix @@ -7,19 +7,21 @@ opus, lib, stdenv, + # TODO: Clean up on `staging` + lld, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "concord-tui"; - version = "2.2.13"; + version = "2.3.5"; src = fetchFromGitHub { owner = "chojs23"; repo = "concord"; tag = "v${finalAttrs.version}"; - hash = "sha256-7Acffg3ExqdcqsMJyv1N74Ff1/NrA1gtw8Tpa3KM4r0="; + hash = "sha256-UYhwDV4tay3DqjGZNfnFNVXclAyjZKqp+gbIjXUzudE="; }; - cargoHash = "sha256-CDU9ajRleP/Hr/9DA+8rr+uzv8V3xR9Ki1qtBHhYSpc="; + cargoHash = "sha256-S1ij7AukfmDosZz0TW9AVuriUFw4Eq0Pk6KxhcOr17o="; buildInputs = [ opus @@ -30,12 +32,21 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ pkg-config cmake + ] + # TODO: Clean up on `staging` + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + lld ]; __darwinAllowLocalNetworking = true; __structuredAttrs = true; + # TODO: Clean up on `staging` + env = lib.optionalAttrs stdenv.hostPlatform.isDarwin { + NIX_CFLAGS_LINK = "-fuse-ld=${lib.getExe' lld "ld64.lld"}"; + }; + meta = { description = "Feature-rich TUI client for Discord, written in Rust"; homepage = "https://github.com/chojs23/concord"; @@ -43,6 +54,7 @@ rustPlatform.buildRustPackage (finalAttrs: { maintainers = with lib.maintainers; [ Simon-Weij neo + Br1ght0ne ]; mainProgram = "concord"; };