From 8d16f302e69bb61264e51611d7bad1ce7213ab3f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 19 Nov 2020 18:44:52 +0200 Subject: [PATCH] gnu: cmake: Only build ccmake on user facing cmake. * gnu/packages/cmake.scm (cmake-bootstrap)[inputs]: Remove ncurses. (cmake)[inputs]: Add ncurses. --- gnu/packages/cmake.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm index cf3bc406bc..5eef3c8488 100644 --- a/gnu/packages/cmake.scm +++ b/gnu/packages/cmake.scm @@ -211,7 +211,6 @@ (define preserved-files ,@(if (hurd-target?) '() `(("libuv" ,libuv))) ;not supported on the Hurd - ("ncurses" ,ncurses) ;required for ccmake ("rhash" ,rhash) ("zlib" ,zlib))) (native-search-paths @@ -330,6 +329,9 @@ (define-public cmake (string-append doc html)) (delete-file-recursively (string-append out html)) #t))))))) + (inputs + `(("ncurses" ,ncurses) ;required for ccmake + ,@(package-inputs cmake-minimal))) ;; Extra inputs required to build the documentation. (native-inputs `(,@(package-native-inputs cmake-minimal)