about summary refs log tree commit diff
path: root/pkgs/by-name/mu/musikcube/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/mu/musikcube/package.nix')
-rw-r--r--pkgs/by-name/mu/musikcube/package.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/by-name/mu/musikcube/package.nix b/pkgs/by-name/mu/musikcube/package.nix
index 8eb5536f39ba..8c59e9833985 100644
--- a/pkgs/by-name/mu/musikcube/package.nix
+++ b/pkgs/by-name/mu/musikcube/package.nix
@@ -72,11 +72,11 @@ stdenv.mkDerivation (finalAttrs: {
       taglib
     ]
     ++ lib.optionals systemdSupport [ systemd ]
-    ++ lib.optionals stdenv.isLinux [
+    ++ lib.optionals stdenv.hostPlatform.isLinux [
       alsa-lib
       pulseaudio
     ]
-    ++ lib.optionals stdenv.isDarwin (
+    ++ lib.optionals stdenv.hostPlatform.isDarwin (
       with darwin.apple_sdk.frameworks;
       [
         Cocoa
@@ -89,7 +89,7 @@ stdenv.mkDerivation (finalAttrs: {
 
   cmakeFlags = [ "-DDISABLE_STRIP=true" ];
 
-  postFixup = lib.optionalString stdenv.isDarwin ''
+  postFixup = lib.optionalString stdenv.hostPlatform.isDarwin ''
     install_name_tool -add_rpath $out/share/musikcube $out/share/musikcube/musikcube
     install_name_tool -add_rpath $out/share/musikcube $out/share/musikcube/musikcubed
   '';