Update vcv to gcc11

This commit is contained in:
EEva 2021-12-03 01:00:59 +02:00
parent b92347c93b
commit b336b07296

View file

@ -1,4 +1,4 @@
{ stdenv, lib, makeWrapper, fetchzip, fetchFromGitHub, pkgconfig
{ gcc11Stdenv, lib, makeWrapper, fetchzip, fetchFromGitHub, pkgconfig
, alsaLib, curl, ghc_filesystem, glew, glfw, gtk3-x11, jansson, jq, libarchive
, libjack2, libpulseaudio, libXext, libXi, rtaudio, rtmidi, speex
, libsamplerate, zstd }:
@ -11,7 +11,11 @@ let
sha256 = "QnwOgrYxiCa/7t/u6F63Ks8C9E8k6T+hia4JZFhp1LI=";
};
in
with lib; stdenv.mkDerivation rec {
# gcc11 is necessary because many vcv plugins are already built with it
# If using an older gcc for Rack, you get
# undefined symbol: _ZSt28__throw_bad_array_new_lengthv
# for those plugins which were built with v11
with lib; gcc11Stdenv.mkDerivation rec {
pname = "VCV-Rack";
version = "2";