gnu: cmake: Only build ccmake on user facing cmake.

* gnu/packages/cmake.scm (cmake-bootstrap)[inputs]: Remove ncurses.
(cmake)[inputs]: Add ncurses.
This commit is contained in:
Efraim Flashner 2020-11-19 18:44:52 +02:00
parent bf8f33c31f
commit 8d16f302e6
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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)