Move patches to its own directory

This commit is contained in:
Thiago Kenji Okada
2022-07-08 16:48:39 +01:00
parent 744cfb8a1d
commit ffa42074ba
6 changed files with 4 additions and 4 deletions

View File

@ -88,7 +88,7 @@ let
phases = [ "unpackPhase" "patchPhase" "installPhase" ]; phases = [ "unpackPhase" "patchPhase" "installPhase" ];
patches = [ patches = [
(substituteAll { (substituteAll {
src = ./fix-paths.patch; src = ./patches/fix-paths.patch;
private = builtins.toString doomPrivateDir; private = builtins.toString doomPrivateDir;
}) })
]; ];
@ -176,7 +176,7 @@ let
patches = [ patches = [
(substituteAll { (substituteAll {
src = ./nix-integration.patch; src = ./patches/nix-integration.patch;
local = doomLocal; local = doomLocal;
}) })
]; ];

View File

@ -9,7 +9,7 @@ self: super: {
} // args); } // args);
evil-escape = super.evil-escape.overrideAttrs (esuper: { evil-escape = super.evil-escape.overrideAttrs (esuper: {
patches = [ ./evil-escape.patch ]; patches = [ ./patches/evil-escape.patch ];
}); });
doom-snippets = self.straightBuild { doom-snippets = self.straightBuild {
@ -80,7 +80,7 @@ self: super: {
}; };
restart-emacs = super.restart-emacs.overrideAttrs (esuper: { restart-emacs = super.restart-emacs.overrideAttrs (esuper: {
patches = [ ./restart-emacs.patch ]; patches = [ ./patches/restart-emacs.patch ];
}); });
revealjs = self.straightBuild { revealjs = self.straightBuild {