Skip to content

Instantly share code, notes, and snippets.

@cole-h
Created April 12, 2020 02:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cole-h/24dc497c8ff8254bf6d6803b7018f39c to your computer and use it in GitHub Desktop.
Save cole-h/24dc497c8ff8254bf6d6803b7018f39c to your computer and use it in GitHub Desktop.
final: super:
with super;
let
orig_discord = discord;
in
{
discord = runCommand "discord" { buildInputs = [ makeWrapper ]; }
''
mkdir -p $out/bin
makeWrapper ${orig_discord}/bin/Discord $out/bin/discord \
--set "GDK_BACKEND" "x11"
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment