sampler: build on Darwin
This commit is contained in:
parent
659b91df0a
commit
f3d70ac663
1 changed files with 5 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue