mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
roc-toolkit: fix cross compilation
This commit is contained in:
parent
8aeafc25c9
commit
51f93cb778
1 changed files with 4 additions and 5 deletions
|
@ -40,7 +40,10 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
sconsFlags =
|
||||
[ "--disable-sox"
|
||||
[ "--build=${stdenv.buildPlatform.config}"
|
||||
"--host=${stdenv.hostPlatform.config}"
|
||||
"--prefix=${placeholder "out"}"
|
||||
"--disable-sox"
|
||||
"--disable-tests" ] ++
|
||||
lib.optional (!libunwindSupport) "--disable-libunwind" ++
|
||||
lib.optional (!pulseaudioSupport) "--disable-pulseaudio" ++
|
||||
|
@ -52,10 +55,6 @@ stdenv.mkDerivation rec {
|
|||
prePatch = lib.optionalString stdenv.isAarch64
|
||||
"sed -i 's/c++98/c++11/g' SConstruct";
|
||||
|
||||
preConfigure = ''
|
||||
sconsFlags+=" --prefix=$out"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Roc is a toolkit for real-time audio streaming over the network";
|
||||
homepage = "https://github.com/roc-streaming/roc-toolkit";
|
||||
|
|
Loading…
Reference in a new issue