Fix vcv
This commit is contained in:
parent
f917115ac8
commit
cdd8957e70
1 changed files with 8 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
{ gcc11Stdenv, lib, makeWrapper, fetchzip, fetchFromGitHub, fetchFromBitbucket
|
||||
, pkg-config, alsa-lib, curl, ghc_filesystem, glew, glfw, gtk3-x11, jansson, jq
|
||||
, libarchive, libjack2, libpulseaudio, libXext, libXi, rtaudio, rtmidi, speex
|
||||
, libsamplerate, zstd, wrapGAppsHook }:
|
||||
, libsamplerate, zstd, wrapGAppsHook, gnome }:
|
||||
|
||||
let
|
||||
# The package repo vendors some of the package dependencies as submodules.
|
||||
|
@ -35,8 +35,8 @@ let
|
|||
osdialog-source = fetchFromGitHub {
|
||||
owner = "AndrewBelt";
|
||||
repo = "osdialog";
|
||||
rev = "e5faf7ea0fce3104bf0c8f2c0e8a5a2e454ed42f";
|
||||
sha256 = "5b+OjaoP5hRs53UED0Z5ro2HD/75K5NyzKQiO5pNBEU=";
|
||||
rev = "21b9dcc2a1bbdacb9b46da477ffd82a4ce9204b9";
|
||||
sha256 = "+4VCBuQvfiuEUdjFu3IB2FwbHFrDJXTb4vcVg6ZFwSM=";
|
||||
};
|
||||
oui-blendish-source = fetchFromGitHub {
|
||||
owner = "AndrewBelt";
|
||||
|
@ -93,12 +93,16 @@ with lib; gcc11Stdenv.mkDerivation rec {
|
|||
cp -r ${fundamental-source} plugins/Fundamental/
|
||||
chmod -R +rw plugins/Fundamental # will be used as build dir
|
||||
substituteInPlace plugin.mk --replace ":= all" ":= dist"
|
||||
|
||||
# Fix reference to zenity
|
||||
substituteInPlace dep/osdialog/osdialog_zenity.c \
|
||||
--replace 'zenityBin[] = "zenity"' 'zenityBin[] = "${gnome.zenity}/bin/zenity"'
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper pkg-config wrapGAppsHook jq ];
|
||||
buildInputs = [ alsa-lib curl ghc_filesystem glew glfw gtk3-x11 jansson libarchive libjack2 libpulseaudio libsamplerate rtaudio rtmidi speex zstd ];
|
||||
buildInputs = [ alsa-lib curl ghc_filesystem glew glfw gtk3-x11 jansson libarchive libjack2 libpulseaudio libsamplerate rtaudio rtmidi speex zstd gnome.zenity ];
|
||||
|
||||
makeFlags = [ "all" "plugins" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue