roc-toolkit: fix build on darwin (#337522)
This commit is contained in:
commit
95c2f0ae8d
@ -51,10 +51,10 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optional soxSupport sox
|
||||
++ lib.optional libsndfileSupport libsndfile;
|
||||
|
||||
sconsFlags =
|
||||
sconsFlags = lib.optionals (!stdenv.hostPlatform.isDarwin)
|
||||
[ "--build=${stdenv.buildPlatform.config}"
|
||||
"--host=${stdenv.hostPlatform.config}"
|
||||
"--prefix=${placeholder "out"}" ] ++
|
||||
"--host=${stdenv.hostPlatform.config}" ] ++
|
||||
[ "--prefix=${placeholder "out"}" ] ++
|
||||
lib.optional (!opensslSupport) "--disable-openssl" ++
|
||||
lib.optional (!soxSupport) "--disable-sox" ++
|
||||
lib.optional (!libunwindSupport) "--disable-libunwind" ++
|
||||
|
Loading…
Reference in New Issue
Block a user