diff --git a/pkgs/by-name/go/gossip/package.nix b/pkgs/by-name/go/gossip/package.nix index 5540497e35c8..6cb81d28de5d 100644 --- a/pkgs/by-name/go/gossip/package.nix +++ b/pkgs/by-name/go/gossip/package.nix @@ -2,6 +2,7 @@ cmake, darwin, fetchFromGitHub, + SDL2, ffmpeg_6, fontconfig, git, @@ -65,6 +66,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ + SDL2 ffmpeg_6 fontconfig libGL @@ -98,9 +100,13 @@ rustPlatform.buildRustPackage rec { ''; postFixup = lib.optionalString (!stdenv.hostPlatform.isDarwin) '' + # We don't want the bundled libraries. + rm -rf $out/lib + patchelf $out/bin/gossip \ --add-rpath ${ lib.makeLibraryPath [ + SDL2 libGL libxkbcommon wayland