add format-all override to fix +format
module
Doom uses an older version of format-all[1] before breaking changes were made upstream. We need to also use this version to not have a broken experience. [1] https://github.com/hlissner/doom-emacs/blob/develop/modules/editor/format/packages.el#L4
This commit is contained in:
18
flake.lock
generated
18
flake.lock
generated
@@ -144,6 +144,23 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"format-all": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1581716637,
|
||||||
|
"narHash": "sha256-ul7LCe60W8TIvUmUtZtZRo8489TK9iTPDsLHmzxY57M=",
|
||||||
|
"owner": "lassik",
|
||||||
|
"repo": "emacs-format-all-the-code",
|
||||||
|
"rev": "47d862d40a088ca089c92cd393c6dca4628f87d3",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "lassik",
|
||||||
|
"repo": "emacs-format-all-the-code",
|
||||||
|
"rev": "47d862d40a088ca089c92cd393c6dca4628f87d3",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix-straight": {
|
"nix-straight": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -299,6 +316,7 @@
|
|||||||
"evil-quick-diff": "evil-quick-diff",
|
"evil-quick-diff": "evil-quick-diff",
|
||||||
"explain-pause-mode": "explain-pause-mode",
|
"explain-pause-mode": "explain-pause-mode",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
|
"format-all": "format-all",
|
||||||
"nix-straight": "nix-straight",
|
"nix-straight": "nix-straight",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nose": "nose",
|
"nose": "nose",
|
||||||
|
@@ -70,6 +70,8 @@
|
|||||||
revealjs.flake = false;
|
revealjs.flake = false;
|
||||||
rotate-text.url = "github:debug-ito/rotate-text.el";
|
rotate-text.url = "github:debug-ito/rotate-text.el";
|
||||||
rotate-text.flake = false;
|
rotate-text.flake = false;
|
||||||
|
format-all.url = "github:lassik/emacs-format-all-the-code/47d862d40a088ca089c92cd393c6dca4628f87d3";
|
||||||
|
format-all.flake = false;
|
||||||
|
|
||||||
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
@@ -107,6 +107,10 @@ self: super: {
|
|||||||
pname = "ob-racket";
|
pname = "ob-racket";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
format-all = self.straightBuild {
|
||||||
|
pname = "format-all";
|
||||||
|
};
|
||||||
|
|
||||||
# dune has a nontrivial derivation, which does not buildable from the melpa
|
# dune has a nontrivial derivation, which does not buildable from the melpa
|
||||||
# wrapper falling back to the one in nixpkgs
|
# wrapper falling back to the one in nixpkgs
|
||||||
dune = ocamlPackages.dune_2.overrideAttrs (old: {
|
dune = ocamlPackages.dune_2.overrideAttrs (old: {
|
||||||
|
Reference in New Issue
Block a user