Run formatter

This commit is contained in:
larstvei 2025-08-11 17:13:54 +02:00
parent 34e0fccc16
commit b132266c3d

View File

@ -16,13 +16,23 @@
}; };
outputs = outputs =
{ self, nixpkgs, flake-utils, emacs-overlay, emacs-plus, emacs-config }: {
flake-utils.lib.eachDefaultSystem (system: self,
nixpkgs,
flake-utils,
emacs-overlay,
emacs-plus,
emacs-config,
}:
flake-utils.lib.eachDefaultSystem (
system:
let let
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
overlays = overlays = [
[ emacs-overlay.overlays.emacs emacs-overlay.overlays.package ]; emacs-overlay.overlays.emacs
emacs-overlay.overlays.package
];
}; };
patched-emacs = (pkgs.emacs-git).overrideAttrs (o: { patched-emacs = (pkgs.emacs-git).overrideAttrs (o: {
patches = [ patches = [
@ -32,7 +42,8 @@
]; ];
}); });
in { in
{
defaultPackage = pkgs.emacsWithPackagesFromUsePackage { defaultPackage = pkgs.emacsWithPackagesFromUsePackage {
config = "${emacs-config}/init.org"; config = "${emacs-config}/init.org";
package = patched-emacs; package = patched-emacs;
@ -46,5 +57,6 @@
}; };
devShell = pkgs.mkShell { buildInputs = [ pkgs.jq ]; }; devShell = pkgs.mkShell { buildInputs = [ pkgs.jq ]; };
}); }
);
} }