about summary refs log tree commit diff
path: root/pkgs/by-name/sl/slimserver/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sl/slimserver/package.nix')
-rw-r--r--pkgs/by-name/sl/slimserver/package.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/by-name/sl/slimserver/package.nix b/pkgs/by-name/sl/slimserver/package.nix
index b88f72b0d118..abdb045e7ced 100644
--- a/pkgs/by-name/sl/slimserver/package.nix
+++ b/pkgs/by-name/sl/slimserver/package.nix
@@ -24,7 +24,7 @@ let
       sox
       wavpack
     ]
-    ++ (lib.optional stdenv.isLinux monkeysAudio)
+    ++ (lib.optional stdenv.hostPlatform.isLinux monkeysAudio)
   );
   libPath = lib.makeLibraryPath [
     zlib
@@ -117,8 +117,8 @@ perlPackages.buildPerlPackage rec {
       XMLSimple
       YAMLLibYAML
     ]
-    # ++ (lib.optional stdenv.isDarwin perlPackages.MacFSEvents)
-    ++ (lib.optional stdenv.isLinux perlPackages.LinuxInotify2);
+    # ++ (lib.optional stdenv.hostPlatform.isDarwin perlPackages.MacFSEvents)
+    ++ (lib.optional stdenv.hostPlatform.isLinux perlPackages.LinuxInotify2);
 
   prePatch = ''
     # remove vendored binaries
@@ -179,6 +179,6 @@ perlPackages.buildPerlPackage rec {
       jecaro
     ];
     platforms = platforms.unix;
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 }