about summary refs log tree commit diff
path: root/pkgs/applications/audio/puredata/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/puredata/default.nix')
-rw-r--r--pkgs/applications/audio/puredata/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/audio/puredata/default.nix b/pkgs/applications/audio/puredata/default.nix
index a335dabf4abc..5d1b11c4ef29 100644
--- a/pkgs/applications/audio/puredata/default.nix
+++ b/pkgs/applications/audio/puredata/default.nix
@@ -25,9 +25,9 @@ stdenv.mkDerivation rec {
   buildInputs = [
     fftw
     libjack2
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     alsa-lib
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     portaudio
   ];
 
@@ -35,9 +35,9 @@ stdenv.mkDerivation rec {
     "--enable-universal"
     "--enable-fftw"
     "--enable-jack"
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     "--enable-alsa"
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     "--enable-portaudio"
     "--without-local-portaudio"
     "--disable-jack-framework"