gnu: Define `native-search-paths' for Automake, Guile, and Python.
* gnu/packages/autotools.scm (automake)[native-search-paths]: New field. * gnu/packages/guile.scm (guile-1.8)[native-search-paths]: New field. (guile-2.0)[native-search-paths]: New field. * gnu/packages/python.scm (python)[native-search-paths]: New field.
This commit is contained in:
parent
a18eda2747
commit
9be8d7c8cb
|
@ -164,6 +164,11 @@ exec ~a --no-auto-compile \"$0\" \"$@\"
|
||||||
(setenv "SHELL" sh)
|
(setenv "SHELL" sh)
|
||||||
(setenv "CONFIG_SHELL" sh)))
|
(setenv "CONFIG_SHELL" sh)))
|
||||||
%standard-phases)))
|
%standard-phases)))
|
||||||
|
(native-search-paths
|
||||||
|
(list (search-path-specification
|
||||||
|
(variable "ACLOCAL_PATH")
|
||||||
|
(directories '("share/aclocal")))))
|
||||||
|
|
||||||
(home-page "http://www.gnu.org/software/automake/")
|
(home-page "http://www.gnu.org/software/automake/")
|
||||||
(synopsis
|
(synopsis
|
||||||
"GNU Automake, a GNU standard-compliant makefile generator")
|
"GNU Automake, a GNU standard-compliant makefile generator")
|
||||||
|
|
|
@ -88,6 +88,11 @@
|
||||||
;; When cross-compiling, a native version of Guile itself is needed.
|
;; When cross-compiling, a native version of Guile itself is needed.
|
||||||
(self-native-input? #t)
|
(self-native-input? #t)
|
||||||
|
|
||||||
|
(native-search-paths
|
||||||
|
(list (search-path-specification
|
||||||
|
(variable "GUILE_LOAD_PATH")
|
||||||
|
(directories '("share/guile/site")))))
|
||||||
|
|
||||||
(synopsis "GNU Guile 1.8, an embeddable Scheme interpreter")
|
(synopsis "GNU Guile 1.8, an embeddable Scheme interpreter")
|
||||||
(description
|
(description
|
||||||
"GNU Guile 1.8 is an interpreter for the Scheme programming language,
|
"GNU Guile 1.8 is an interpreter for the Scheme programming language,
|
||||||
|
@ -137,6 +142,14 @@ extensible. It supports many SRFIs.")
|
||||||
(string-append bash "/bin/bash")))))
|
(string-append bash "/bin/bash")))))
|
||||||
%standard-phases)))
|
%standard-phases)))
|
||||||
|
|
||||||
|
(native-search-paths
|
||||||
|
(list (search-path-specification
|
||||||
|
(variable "GUILE_LOAD_PATH")
|
||||||
|
(directories '("share/guile/site/2.0")))
|
||||||
|
(search-path-specification
|
||||||
|
(variable "GUILE_LOAD_COMPILED_PATH")
|
||||||
|
(directories '("share/guile/site/2.0")))))
|
||||||
|
|
||||||
(synopsis "GNU Guile 2.0, an embeddable Scheme implementation")
|
(synopsis "GNU Guile 2.0, an embeddable Scheme implementation")
|
||||||
(description
|
(description
|
||||||
"GNU Guile is an implementation of the Scheme programming language, with
|
"GNU Guile is an implementation of the Scheme programming language, with
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
`(("zlib" ,zlib)
|
`(("zlib" ,zlib)
|
||||||
("openssl" ,openssl)
|
("openssl" ,openssl)
|
||||||
("bzip2" ,bzip2)))
|
("bzip2" ,bzip2)))
|
||||||
|
(native-search-paths
|
||||||
|
(list (search-path-specification
|
||||||
|
(variable "PYTHONPATH")
|
||||||
|
(directories '("lib/python2.7/site-packages")))))
|
||||||
(home-page "http://python.org")
|
(home-page "http://python.org")
|
||||||
(synopsis
|
(synopsis
|
||||||
"Python, a high-level dynamically-typed programming language")
|
"Python, a high-level dynamically-typed programming language")
|
||||||
|
|
Loading…
Reference in New Issue