strawberry: environment variable was missing

This commit is contained in:
Peter Hoeg 2019-09-06 13:01:03 +08:00
parent ce67c2ef59
commit c1a37ca8b1

View File

@ -14,6 +14,7 @@
, libpthreadstubs , libpthreadstubs
, libtasn1 , libtasn1
, libXdmcp , libXdmcp
, ninja
, pcre , pcre
, protobuf , protobuf
, sqlite , sqlite
@ -72,15 +73,20 @@ mkDerivation rec {
gstreamer gstreamer
gst-plugins-base gst-plugins-base
gst-plugins-good gst-plugins-good
gst-plugins-ugly
]) ])
++ lib.optional withVlc vlc; ++ lib.optional withVlc vlc;
nativeBuildInputs = [ cmake pkgconfig qttools ]; nativeBuildInputs = [ cmake ninja pkgconfig qttools ];
cmakeFlags = [ cmakeFlags = [
"-DUSE_SYSTEM_TAGLIB=ON" "-DUSE_SYSTEM_TAGLIB=ON"
]; ];
postInstall = ''
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
'';
meta = with lib; { meta = with lib; {
description = "Music player and music collection organizer"; description = "Music player and music collection organizer";
license = licenses.gpl2; license = licenses.gpl2;