diff --git a/pkgs/applications/audio/tunefish/default.nix b/pkgs/applications/audio/tunefish/default.nix index 55a675c2f16d..9f5772e5d8e1 100644 --- a/pkgs/applications/audio/tunefish/default.nix +++ b/pkgs/applications/audio/tunefish/default.nix @@ -15,7 +15,7 @@ webkitgtk_4_0, }: -stdenv.mkDerivation { +stdenv.mkDerivation (finalAttrs: { pname = "tunefish"; version = "0-unstable-2021-12-19"; @@ -31,6 +31,7 @@ stdenv.mkDerivation { pkg-config python3 ]; + buildInputs = [ alsa-lib curl @@ -43,16 +44,19 @@ stdenv.mkDerivation { webkitgtk_4_0 ]; - postPatch = '' - patchShebangs src/tunefish4/generate-lv2-ttl.py - ''; - makeFlags = [ "-C" "src/tunefish4/Builds/LinuxMakefile" "CONFIG=Release" ]; + # silences build warnings + HOME = "/build"; + + postPatch = '' + patchShebangs src/tunefish4/generate-lv2-ttl.py + ''; + installPhase = '' runHook preInstall @@ -69,11 +73,11 @@ stdenv.mkDerivation { enableParallelBuilding = true; - meta = with lib; { + meta = { homepage = "https://tunefish-synth.com/"; description = "Virtual analog synthesizer LV2 plugin"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ orivej ]; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ orivej ]; platforms = [ "x86_64-linux" ]; }; -} +})