diff options
Diffstat (limited to 'pkgs/development/tools/misc/cscope/default.nix')
-rw-r--r-- | pkgs/development/tools/misc/cscope/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/cscope/default.nix b/pkgs/development/tools/misc/cscope/default.nix index c5578e10abf12..b8b907fd1f74c 100644 --- a/pkgs/development/tools/misc/cscope/default.nix +++ b/pkgs/development/tools/misc/cscope/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, ncurses, pkgconfig +{ fetchurl, stdenv, ncurses , emacsSupport ? true, emacs }: @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { configureFlags = "--with-ncurses=${ncurses.dev}"; buildInputs = [ ncurses ]; - nativeBuildInputs = [ pkgconfig ] + stdenv.lib.optional emacsSupport emacs; + nativeBuildInputs = stdenv.lib.optional emacsSupport emacs; postInstall = stdenv.lib.optionalString emacsSupport '' cd "contrib/xcscope" |