overrides: patch domain into vencord csp
This commit is contained in:
parent
9fb131c64b
commit
eadc5655f4
2 changed files with 4 additions and 0 deletions
|
@ -55,6 +55,9 @@ in
|
|||
VENCORD_REMOTE = "Vendicated/Vencord";
|
||||
VENCORD_HASH = builtins.substring 0 9 inputs.vencord.rev;
|
||||
};
|
||||
postPatch = ''
|
||||
sed -i '/export const CspPolicies/a "inx.moe": ImageScriptsAndCssSrc,' src/main/csp/index.ts
|
||||
'';
|
||||
#pnpmDeps = latest.pnpm.fetchDeps {
|
||||
# inherit (old) pname;
|
||||
# inherit version src;
|
||||
|
|
|
@ -73,6 +73,7 @@ in
|
|||
communication.minimal = [
|
||||
(ifGraphical [
|
||||
(discord-canary.override {
|
||||
inherit (pkgs) vencord;
|
||||
withVencord = true;
|
||||
withOpenASAR = true;
|
||||
withTTS = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue