summaryrefslogtreecommitdiff
path: root/modules/emacs/emacs.nix
diff options
context:
space:
mode:
authorLeonardo Santiago <[email protected]>2024-04-02 16:42:12 -0300
committerLeonardo Santiago <[email protected]>2024-04-02 16:42:12 -0300
commitb5d2fa60722347f87bb25a1aa83c9d11ceacfd12 (patch)
tree750fc23c8e3f2c6c27b7528574c9f17d29260a94 /modules/emacs/emacs.nix
parent2d32bab6d9082c6c18676517863674bf2ce6089e (diff)
fix some stuff
Diffstat (limited to 'modules/emacs/emacs.nix')
-rw-r--r--modules/emacs/emacs.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/emacs/emacs.nix b/modules/emacs/emacs.nix
index f86e364..a43e38b 100644
--- a/modules/emacs/emacs.nix
+++ b/modules/emacs/emacs.nix
@@ -1,14 +1,14 @@
{ pkgs, inputs, ...}:
let
- outside-emacs = [
- (pkgs.python3.withPackages (p: (with p; [
+ outside-emacs = with pkgs; [
+ (python3.withPackages (p: (with p; [
python-lsp-server
python-lsp-ruff
pylsp-mypy
])))
- pkgs.nil
- pkgs.rust-analyzer
- pkgs.parallel
+ nil
+ rust-analyzer
+ parallel
];
org-tangle-elisp-blocks = (pkgs.callPackage ./org.nix {inherit pkgs; from-elisp = inputs.from-elisp;}).org-tangle ({ language, flags } :
let is-elisp = (language == "emacs-lisp") || (language == "elisp");