Last fix for VCV

This commit is contained in:
EEva 2021-12-03 19:19:20 +02:00
parent 2f98669633
commit 01a5e8412a
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ 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 }:
, libsamplerate, zstd, wrapGAppsHook }:
let
fundamental-source = fetchFromGitHub {
@ -41,6 +41,7 @@ with lib; gcc11Stdenv.mkDerivation rec {
cp dep/osdialog/*.h dep/include
cp dep/oui-blendish/*.h dep/include
# Build and dist the Fundamental plugins
cp -r ${fundamental-source} plugins/Fundamental/
chmod -R +rw plugins/Fundamental # will be used as build dir
substituteInPlace plugin.mk --replace ":= all" ":= dist"
@ -48,7 +49,7 @@ with lib; gcc11Stdenv.mkDerivation rec {
enableParallelBuilding = true;
nativeBuildInputs = [ makeWrapper pkgconfig ];
nativeBuildInputs = [ makeWrapper pkgconfig wrapGAppsHook ];
buildInputs = [ alsaLib curl ghc_filesystem glew glfw gtk3-x11 jansson jq libarchive libjack2 libpulseaudio libsamplerate rtaudio rtmidi speex zstd ];
makeFlags = [ "all" "plugins" ];