about summary refs log tree commit diff
path: root/pkgs/applications/audio/ft2-clone/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/ft2-clone/default.nix')
-rw-r--r--pkgs/applications/audio/ft2-clone/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/audio/ft2-clone/default.nix b/pkgs/applications/audio/ft2-clone/default.nix
index 072c038e144a..84de0229497d 100644
--- a/pkgs/applications/audio/ft2-clone/default.nix
+++ b/pkgs/applications/audio/ft2-clone/default.nix
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ cmake ];
   buildInputs = [ SDL2 ]
-    ++ lib.optional stdenv.isLinux alsa-lib
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optional stdenv.hostPlatform.isLinux alsa-lib
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
          libiconv
          CoreAudio
          CoreMIDI