Merge pull request #214031 from sersorrel/xivlauncher-gstreamer

xivlauncher: include GStreamer in closure

authored by

Lily Foster and committed by
GitHub
5a1dc8ac 826b063f

+7 -3
+7 -3
pkgs/games/xivlauncher/default.nix
··· 1 - { lib, buildDotnetModule, fetchFromGitHub, dotnetCorePackages, SDL2, libsecret, glib, gnutls, aria2, steam-run 2 - , copyDesktopItems, makeDesktopItem 1 + { lib, buildDotnetModule, fetchFromGitHub, dotnetCorePackages, SDL2, libsecret, glib, gnutls, aria2, steam-run, gst_all_1 2 + , copyDesktopItems, makeDesktopItem, makeWrapper 3 3 , useSteamRun ? true }: 4 4 5 5 let ··· 17 17 fetchSubmodules = true; 18 18 }; 19 19 20 - nativeBuildInputs = [ copyDesktopItems ]; 20 + nativeBuildInputs = [ copyDesktopItems makeWrapper ]; 21 + 22 + buildInputs = with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav ]; 21 23 22 24 projectFile = "src/XIVLauncher.Core/XIVLauncher.Core.csproj"; 23 25 nugetDeps = ./deps.nix; # File generated with `nix-build -A xivlauncher.passthru.fetch-deps` ··· 40 42 postFixup = lib.optionalString useSteamRun '' 41 43 substituteInPlace $out/bin/XIVLauncher.Core \ 42 44 --replace 'exec' 'exec ${steam-run}/bin/steam-run' 45 + '' + '' 46 + wrapProgram $out/bin/XIVLauncher.Core --prefix GST_PLUGIN_SYSTEM_PATH_1_0 ":" "$GST_PLUGIN_SYSTEM_PATH_1_0" 43 47 ''; 44 48 45 49 executables = [ "XIVLauncher.Core" ];