From 32e552af3ff125bcbf341ec54d545477488f000d Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Tue, 11 Sep 2018 09:48:33 -0500 Subject: [PATCH] editorconfig: Include runtime dependency on editorconfig-core-c --- pkgs/applications/editors/emacs-modes/melpa-packages.nix | 4 ++++ pkgs/top-level/all-packages.nix | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/emacs-modes/melpa-packages.nix b/pkgs/applications/editors/emacs-modes/melpa-packages.nix index a401bbc0be1b..97681afbe15e 100644 --- a/pkgs/applications/editors/emacs-modes/melpa-packages.nix +++ b/pkgs/applications/editors/emacs-modes/melpa-packages.nix @@ -59,6 +59,10 @@ self: inherit (self.melpaPackages) easy-kill; }; + editorconfig = super.editorconfig.overrideAttrs (attrs: { + propagatedUserEnvPkgs = [ external.editorconfig-core-c ]; + }); + egg = super.egg.overrideAttrs (attrs: { # searches for Git at build time nativeBuildInputs = diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bf9c11c56154..899cc0dbf603 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17814,11 +17814,13 @@ in }; external = { - inherit (haskellPackages) ghc-mod structured-haskell-mode Agda hindent; + inherit (haskellPackages) + ghc-mod structured-haskell-mode Agda hindent; inherit (pythonPackages) elpy; inherit - autoconf automake git libffi libpng pkgconfig poppler rtags w3m zlib - substituteAll rustPlatform cmake llvmPackages libtool zeromq; + autoconf automake editorconfig-core-c git libffi libpng pkgconfig + poppler rtags w3m zlib substituteAll rustPlatform cmake llvmPackages + libtool zeromq; }; };