From f31b7313b87edfc41052635334525d1a65411460 Mon Sep 17 00:00:00 2001 From: "Alexander V. Nikolaev" Date: Mon, 23 Jun 2025 18:06:29 +0300 Subject: [PATCH] libcosmicAppHook: Fix cross-compilation Signed-off-by: Alexander V. Nikolaev --- pkgs/by-name/li/libcosmicAppHook/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/li/libcosmicAppHook/package.nix b/pkgs/by-name/li/libcosmicAppHook/package.nix index 549c628c870d..f4bc7bd4f34f 100644 --- a/pkgs/by-name/li/libcosmicAppHook/package.nix +++ b/pkgs/by-name/li/libcosmicAppHook/package.nix @@ -46,7 +46,7 @@ makeSetupHook { substitutions = { fallbackXdgDirs = "${lib.optionalString includeSettings "${targetPackages.cosmic-settings}/share:"}${targetPackages.cosmic-icons}/share"; - cargoLinkerVar = stdenv.hostPlatform.rust.cargoEnvVarTarget; + cargoLinkerVar = targetPackages.stdenv.hostPlatform.rust.cargoEnvVarTarget; # force linking for all libraries that may be dlopen'd by libcosmic/iced apps cargoLinkLibs = lib.escapeShellArgs ( [