about summary refs log tree commit diff
path: root/pkgs/applications/misc/sampler/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/sampler/default.nix')
-rw-r--r--pkgs/applications/misc/sampler/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/misc/sampler/default.nix b/pkgs/applications/misc/sampler/default.nix
index a111142bbde4..7ee3d4573d9a 100644
--- a/pkgs/applications/misc/sampler/default.nix
+++ b/pkgs/applications/misc/sampler/default.nix
@@ -25,8 +25,8 @@ buildGoModule rec {
 
   subPackages = [ "." ];
 
-  buildInputs = lib.optional stdenv.isLinux alsa-lib
-    ++ lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optional stdenv.hostPlatform.isLinux alsa-lib
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.OpenAL
   ];