guix-devel/guix
Ludovic Courtès d664f1b431 profiles: Generate an 'etc/profile' file.
Suggested by 宋文武 <iyzsong@gmail.com>
in <http://bugs.gnu.org/20255>.

* guix/build/profiles.scm (abstract-profile,
  write-environment-variable-definition): New procedures.
  (build-profile): Add #:search-paths parameter.  Create
  OUTPUT/etc/profile.
* guix/profiles.scm (profile-derivation)[builder]: Add 'search-paths'
  variable and pass it to 'build-profile'.  Adjust #:modules argument.
* tests/profiles.scm ("etc/profile"): New test.
* doc/guix.texi (Invoking guix package): Mention etc/profile.
2015-05-06 18:26:54 +02:00
..
build profiles: Generate an 'etc/profile' file. 2015-05-06 18:26:54 +02:00
build-system Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
import import: cpan: Fix license string for Artistic license. 2015-04-19 19:48:52 -05:00
scripts download: Work around Guile small-receive-buffer bug. 2015-05-06 10:31:11 +02:00
base32.scm Update license headers. 2013-01-06 00:47:50 +01:00
base64.scm base64: Inline arithmetic operations. 2015-01-09 01:01:04 +01:00
build-system.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
config.scm.in build: Change state and log directories to $localstatedir/.../guix. 2014-03-09 22:10:01 +01:00
cvs-download.scm packages: Refer to the native tools when handling sources and downloads. 2015-04-15 10:19:47 +02:00
derivations.scm derivations: Add #:leaked-env-vars parameter. 2015-05-01 00:06:17 +02:00
download.scm download: Honor the 'http_proxy' and 'https_proxy' env. vars. 2015-05-01 00:06:18 +02:00
elf.scm elf: Add missing argument in 'elf-segment'. 2015-03-30 15:21:11 +02:00
ftp-client.scm ftp-client: Switch to binary mode before using the "SIZE" command. 2015-03-19 13:00:21 +01:00
gcrypt.scm Add (guix gcrypt). 2015-01-26 21:58:12 +01:00
gexp.scm derivations: Add #:leaked-env-vars parameter. 2015-05-01 00:06:17 +02:00
git-download.scm packages: Refer to the native tools when handling sources and downloads. 2015-04-15 10:19:47 +02:00
gnu-maintenance.scm gnu-maintenance: 'gnu-package?' returns #t for R and for GNOME packages. 2015-05-05 15:13:57 +02:00
gnupg.scm gnupg: Correctly parse current 'SIG_ID' lines. 2014-09-24 19:08:03 +02:00
hash.scm hash: Initialize libgcrypt before use. 2015-01-26 21:58:12 +01:00
http-client.scm download: Work around Guile small-receive-buffer bug. 2015-05-06 10:31:11 +02:00
licenses.scm licenses: Add the Ms-PL. 2015-03-17 18:15:51 +01:00
monad-repl.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
monads.scm monads: Optimize 'sequence'. 2015-04-17 18:15:38 +02:00
nar.scm nar: Read archive signatures as Latin-1 strings. 2015-01-18 22:19:04 +01:00
packages.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
pk-crypto.scm pk-crypto: Improve documentation of 'key-type'. 2015-03-18 14:43:03 +01:00
pki.scm pki: Introduce 'write-acl', and fix wrong conversion in 'ensure-acl'. 2014-04-04 00:23:17 +02:00
profiles.scm profiles: Generate an 'etc/profile' file. 2015-05-06 18:26:54 +02:00
records.scm records: Make 'make-syntactic-constructor' available at load/eval/expand. 2015-05-04 23:30:52 +02:00
search-paths.scm search-paths: Export 'string-tokenize*'. 2015-05-06 18:26:53 +02:00
serialization.scm serialization: Adjust the permissive UTF-8 decoder to Guile 2.0.12ish. 2015-05-01 13:10:18 +02:00
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
store.scm store: Add query-path-info operation. 2015-04-04 13:50:52 -04:00
svn-download.scm packages: Refer to the native tools when handling sources and downloads. 2015-04-15 10:19:47 +02:00
tests.scm guix: packages: Add package-direct-sources and package-transitive-sources. 2015-05-02 23:15:40 -05:00
ui.scm ui: Add 'symlink' replacement with better error reporting. 2015-04-20 22:37:20 +02:00
utils.scm search-paths: Add 'evaluate-search-paths', from (guix scripts package). 2015-05-04 23:30:51 +02:00