Merge pull request #72903 from kylesferrazza/fix-52958
denemo: add WrapGAppsHook
This commit is contained in:
commit
4a3a31be57
|
@ -2,7 +2,7 @@
|
||||||
, libjack2, gettext, intltool, guile_2_0, lilypond
|
, libjack2, gettext, intltool, guile_2_0, lilypond
|
||||||
, glib, libxml2, librsvg, libsndfile, aubio
|
, glib, libxml2, librsvg, libsndfile, aubio
|
||||||
, gtk3, gtksourceview, evince, fluidsynth, rubberband
|
, gtk3, gtksourceview, evince, fluidsynth, rubberband
|
||||||
, portaudio, portmidi, fftw, makeWrapper }:
|
, portaudio, portmidi, fftw, wrapGAppsHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "denemo";
|
pname = "denemo";
|
||||||
|
@ -14,17 +14,21 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libjack2 gettext guile_2_0 lilypond pkgconfig glib libxml2 librsvg libsndfile
|
libjack2 guile_2_0 lilypond glib libxml2 librsvg libsndfile
|
||||||
aubio gtk3 gtksourceview evince fluidsynth rubberband portaudio fftw portmidi
|
aubio gtk3 gtksourceview evince fluidsynth rubberband portaudio fftw portmidi
|
||||||
makeWrapper
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
preFixup = ''
|
||||||
wrapProgram $out/bin/denemo --prefix PATH : ${lilypond}/bin
|
gappsWrapperArgs+=(
|
||||||
|
--prefix PATH : "${lilypond}/bin"
|
||||||
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
wrapGAppsHook
|
||||||
intltool
|
intltool
|
||||||
|
gettext
|
||||||
|
pkgconfig
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue