Last fix for VCV

This commit is contained in:
EEva 2021-12-03 19:19:20 +02:00
parent 2f98669633
commit 01a5e8412a

View file

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