webcord: fix loading with broken config

This commit is contained in:
Leonardo Eugênio 2023-02-18 22:15:01 -03:00
parent a45a6dcfd4
commit 009e179ce4
2 changed files with 17 additions and 1 deletions

View file

@ -45,7 +45,9 @@
mpvpaper = inputs.wegank.packages.${prev.system}.mpvpaper;
sea-orm-cli = inputs.sea-orm-cli.legacyPackages.${prev.system}.sea-orm-cli;
webcord = prev.webcord or prev.unstable.webcord;
webcord = (prev.webcord or prev.unstable.webcord).overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ../patches/webcord/fix-reading-config.patch ];
});
nil-lsp = inputs.nil-lsp.packages.${prev.system}.nil;
});