diff options
Diffstat (limited to 'pkgs/applications/misc/sampler/default.nix')
-rw-r--r-- | pkgs/applications/misc/sampler/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/misc/sampler/default.nix b/pkgs/applications/misc/sampler/default.nix index 2e1b94b6b6c7a..a020b15eea3e9 100644 --- a/pkgs/applications/misc/sampler/default.nix +++ b/pkgs/applications/misc/sampler/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub, alsa-lib }: +{ lib, buildGoModule, fetchFromGitHub, darwin, libiconv, alsa-lib, stdenv }: buildGoModule rec { pname = "sampler"; @@ -17,7 +17,10 @@ buildGoModule rec { subPackages = [ "." ]; - buildInputs = [ alsa-lib ]; + buildInputs = lib.optional stdenv.isLinux alsa-lib + ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.OpenAL + ]; meta = with lib; { description = "Tool for shell commands execution, visualization and alerting"; |