From ae28b4c0675d7741e4bf739efdc1a87db4cb0988 Mon Sep 17 00:00:00 2001 From: laalsaas Date: Tue, 1 Nov 2022 18:19:15 +0100 Subject: [PATCH] emacsPackages.evil-markdown: cleanup switch to callPackage-style dependency injection --- .../emacs/elisp-packages/evil-markdown/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/editors/emacs/elisp-packages/evil-markdown/default.nix b/pkgs/applications/editors/emacs/elisp-packages/evil-markdown/default.nix index a2605f33778d..d4079a53dcaa 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/evil-markdown/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/evil-markdown/default.nix @@ -2,6 +2,8 @@ , trivialBuild , fetchFromGitHub , emacs +, evil +, markdown-mode }: trivialBuild rec { @@ -15,11 +17,9 @@ trivialBuild rec { hash = "sha256-HBBuZ1VWIn6kwK5CtGIvHM1+9eiNiKPH0GUsyvpUVN8="; }; - buildInputs = [ - emacs - ] ++ propagatedUserEnvPkgs; + buildInputs = propagatedUserEnvPkgs; - propagatedUserEnvPkgs = with emacs.pkgs; [ + propagatedUserEnvPkgs = [ evil markdown-mode ];