From fa4d1c121f7f87a5eaba66332e34af5f3b236c6e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 2 Feb 2026 00:15:53 +0100 Subject: [PATCH] tora: move NIX_LDFLAGS into env for structuredAttrs --- pkgs/development/tools/tora/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/tora/default.nix b/pkgs/development/tools/tora/default.nix index ad8fef2839c1..ce8fc1d8ea23 100644 --- a/pkgs/development/tools/tora/default.nix +++ b/pkgs/development/tools/tora/default.nix @@ -70,7 +70,13 @@ stdenv.mkDerivation { ]; # these libraries are only searched for at runtime so we need to force-link them - NIX_LDFLAGS = "-lgvc -lmysqlclient -lecpg -lssl -L${libmysqlclient}/lib/mariadb"; + env.NIX_LDFLAGS = toString [ + "-lgvc" + "-lmysqlclient" + "-lecpg" + "-lssl" + "-L${libmysqlclient}/lib/mariadb" + ]; qtWrapperArgs = [ "--prefix PATH : ${lib.getBin graphviz}/bin"