about summary refs log tree commit diff
path: root/pkgs/applications/misc/lenmus/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/lenmus/default.nix')
-rw-r--r--pkgs/applications/misc/lenmus/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/misc/lenmus/default.nix b/pkgs/applications/misc/lenmus/default.nix
index 7dc018e08714..c7a1ce9f5d2f 100644
--- a/pkgs/applications/misc/lenmus/default.nix
+++ b/pkgs/applications/misc/lenmus/default.nix
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [
     cmake
     pkg-config
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     makeWrapper
   ];
 
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
     wxsqlite3
     fluidsynth
     fontconfig
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     Cocoa
   ];
 
@@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
     "-DMAN_INSTALL_DIR=${placeholder "out"}/share/man"
   ];
 
-  postInstall = lib.optionalString stdenv.isDarwin ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
     mkdir -p $out/{Applications,bin}
     mv $out/lenmus.app $out/Applications
     mv $out/Resources $out/Applications/lenmus.app/Contents