mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
milkytracker: workaround for rtmidi support
RtMidi 5.0.0 requires C++11 support now. Upstream bug: https://github.com/milkytracker/MilkyTracker/issues/262
This commit is contained in:
parent
2c21eee93e
commit
fbd58b1d4a
@ -12,6 +12,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "025fj34gq2kmkpwcswcyx7wdxb89vm944dh685zi4bxx0hz16vvk";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/milkytracker/MilkyTracker/issues/262
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace 'CMAKE_CXX_STANDARD 98' 'CMAKE_CXX_STANDARD 11'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config makeWrapper ];
|
||||
|
||||
buildInputs = [ SDL2 alsa-lib libjack2 lhasa perl rtmidi zlib zziplib ];
|
||||
|
Loading…
Reference in New Issue
Block a user