bambootracker: fix Darwin build
This commit is contained in:
parent
453b93ca03
commit
bf65a2d07b
@ -1,5 +1,6 @@
|
|||||||
{ mkDerivation
|
{ mkDerivation
|
||||||
, lib
|
, lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, qmake
|
, qmake
|
||||||
, pkg-config
|
, pkg-config
|
||||||
@ -20,6 +21,11 @@ mkDerivation rec {
|
|||||||
sha256 = "0iddqfw951dw9xpl4w7310sl4z544507ppb12i8g4fzvlxfw2ifc";
|
sha256 = "0iddqfw951dw9xpl4w7310sl4z544507ppb12i8g4fzvlxfw2ifc";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||||
|
substituteInPlace BambooTracker/BambooTracker.pro \
|
||||||
|
--replace '# Temporary known-error downgrades here' 'CPP_WARNING_FLAGS += -Wno-missing-braces'
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake qttools pkg-config ];
|
nativeBuildInputs = [ qmake qttools pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ qtbase rtaudio rtmidi ];
|
buildInputs = [ qtbase rtaudio rtmidi ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user