1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-08-01 12:37:46 +00:00

Remove useless discord overrides

This commit is contained in:
RGBCube 2023-12-05 11:44:53 +03:00
parent 4ce3806b86
commit e776fcd1e6
No known key found for this signature in database

View file

@ -5,15 +5,8 @@
}) })
(with pkgs; homePackages "nixos" [ (with pkgs; homePackages "nixos" [
((discord.override { (discord.override {
withOpenASAR = true; withOpenASAR = true;
withVencord = true; withVencord = true;
}).overrideAttrs (old: with pkgs; { })
libPath = old.libPath + ":${libglvnd}/lib";
nativeBuildInputs = old.nativeBuildInputs ++ [ makeWrapper ];
postFixup = ''
wrapProgram $out/opt/Discord/Discord --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"
'';
}))
]) ])