libcosmicAppHook: Fix cross-compilation (#419298)

authored by Pol Dellaiera and committed by GitHub 14746f3b 5f40fd42

+1 -1
+1 -1
pkgs/by-name/li/libcosmicAppHook/package.nix
··· 46 46 substitutions = { 47 47 fallbackXdgDirs = "${lib.optionalString includeSettings "${targetPackages.cosmic-settings}/share:"}${targetPackages.cosmic-icons}/share"; 48 48 49 - cargoLinkerVar = stdenv.hostPlatform.rust.cargoEnvVarTarget; 49 + cargoLinkerVar = targetPackages.stdenv.hostPlatform.rust.cargoEnvVarTarget; 50 50 # force linking for all libraries that may be dlopen'd by libcosmic/iced apps 51 51 cargoLinkLibs = lib.escapeShellArgs ( 52 52 [