refactor(powercord): make patch function
This commit is contained in:
parent
6ed97e15b3
commit
e7d0fc46c6
1 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@
|
|||
|
||||
outputs = inputs@{ self, nixpkgs, fup, powercord-overlay, ... }:
|
||||
let
|
||||
patches = ./patches;
|
||||
patch = name: "${./patches}/${name}.patch";
|
||||
in
|
||||
fup.lib.mkFlake rec {
|
||||
|
||||
|
@ -120,7 +120,7 @@
|
|||
discord-copy-role-color
|
||||
(applyPatches {
|
||||
src = discord-css-toggler;
|
||||
patches = [ "${patches}/css-toggler.patch" ];
|
||||
patches = [ (patch "css-toggler") ];
|
||||
name = "discord-css-toggler";
|
||||
})
|
||||
discord-custom-timestamps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue