about summary refs log tree commit diff
path: root/pkgs/by-name/sm/smuxi/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sm/smuxi/package.nix')
-rw-r--r--pkgs/by-name/sm/smuxi/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/sm/smuxi/package.nix b/pkgs/by-name/sm/smuxi/package.nix
index 40ae39deee0f..72354275e398 100644
--- a/pkgs/by-name/sm/smuxi/package.nix
+++ b/pkgs/by-name/sm/smuxi/package.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
   pname = "smuxi";
   version = "unstable-2023-07-01";
 
-  runtimeLoaderEnvVariableName = if stdenv.isDarwin then
+  runtimeLoaderEnvVariableName = if stdenv.hostPlatform.isDarwin then
                                    "DYLD_FALLBACK_LIBRARY_PATH"
                                  else
                                    "LD_LIBRARY_PATH";
@@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
     cp -a lib/Nini.dll $out/lib/smuxi/
 
     # install GTK+ icon theme on Darwin
-    ${if guiSupport && stdenv.isDarwin then "
+    ${if guiSupport && stdenv.hostPlatform.isDarwin then "
       mkdir -p $out/lib/smuxi/icons/
       cp -a images/Smuxi-Symbolic $out/lib/smuxi/icons/
     " else ""}