about summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs-modes
diff options
context:
space:
mode:
authorHerwig Hochleitner <herwig@bendlas.net>2019-08-12 02:26:34 +0200
committerHerwig Hochleitner <herwig@bendlas.net>2019-08-12 02:54:45 +0200
commitac2eb3151df879602c58280d09e9c205fcff8534 (patch)
tree23fb850d7c12e0e66be5799b692a2f5a013f3f7e /pkgs/applications/editors/emacs-modes
parentff79e9dad2f469896619dc99c892621e77e4aab1 (diff)
emacsPackages.melpaPackages: fix cmake-mode
Diffstat (limited to 'pkgs/applications/editors/emacs-modes')
-rw-r--r--pkgs/applications/editors/emacs-modes/melpa-packages.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs-modes/melpa-packages.nix b/pkgs/applications/editors/emacs-modes/melpa-packages.nix
index 24e541f269523..e642895c07906 100644
--- a/pkgs/applications/editors/emacs-modes/melpa-packages.nix
+++ b/pkgs/applications/editors/emacs-modes/melpa-packages.nix
@@ -50,6 +50,15 @@ env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../ -A emacsPac
         # part of a larger package
         caml = dontConfigure super.caml;
 
+        cmake-mode = super.cmake-mode.overrideAttrs (attrs: {
+          buildInputs = (attrs.buildInputs or []) ++ [
+            external.openssl
+          ];
+          nativeBuildInputs = (attrs.nativeBuildInputs or []) ++ [
+            external.pkgconfig
+          ];
+        });
+
         # Expects bash to be at /bin/bash
         company-rtags = markBroken super.company-rtags;