Age | Commit message (Collapse) | Author |
|
* guix/scripts/build.scm (package-with-source)[tarball-base-name]: Gracefully
handle file names that lack an extension.
Pass #:recursive? #t to 'download-to-store'.
* guix/download.scm (download-to-store): Add #:recursive? parameter and pass
it to 'add-to-store'.
* doc/guix.texi (Invoking guix build): Add an example of --with-source with a
directory.
|
|
* guix/import/cabal.scm: New file.
* guix/import/hackage.scm: Update to use the new Cabal parsing module.
* tests/hackage.scm: Update tests.
* guix/scripts/import/hackage.scm: Add new '--cabal-environment' and '--stdin'
options.
* doc/guix.texi: ... and document them.
* Makefile.am (MODULES): Add 'guix/import/cabal.scm',
'guix/import/hackage.scm' and 'guix/scripts/import/hackage.scm'.
(SCM_TESTS): Add 'tests/hackage.scm'.
|
|
Suggested by Thomas Schwinge <thomas@codesourcery.com> and others.
* doc/guix.texi (Binary Installation): Suggest unpacking in /tmp rather than /.
|
|
Suggested by Thomas Schwinge <thomas@codesourcery.com>.
* gnu/system/install.scm (self-contained-tarball): Remove
"/root/.guix-profile" from the 'tar' arguments.
* doc/guix.texi (Binary Installation): Add a step to create
~root/.guix-profile.
|
|
Suggested by Federico Beffa <beffa@fbengineering.ch>.
* guix/monads.scm (bind-syntax): New macro.
(with-monad): Use it instead of 'identifier-syntax'.
* tests/monads.scm (">>= with more than two arguments"): New test.
* doc/guix.texi (The Store Monad): Explain that there can be several MPROC.
Add an example.
|
|
Suggested by Thomas Schwinge <thomas@codesourcery.com>.
* doc/guix.texi (Build Environment Setup): Explain where the number of build
users comes from.
|
|
* guix/scripts/gc.scm (show-help, %options): Add --verify.
(guix-gc): Handle it.
* doc/guix.texi (Invoking guix gc): Document --verify, and move --optimize
description right below it.
|
|
Partly fixes <http://bugs.gnu.org/20720>.
Reported by Alex Kost <alezost@gmail.com>.
* gnu/system.scm (default-/etc/hosts): Change 'text-file' to 'plain-file'.
(maybe-file->monadic): New procedure.
(operating-system-etc-directory): Use it.
* doc/guix.texi (operating-system Reference, Networking Services): Adjust
accordingly.
|
|
Partly fixes <http://bugs.gnu.org/20720>
Reported by Alex Kost <alezost@gmail.com>.
* gnu/system.scm (etc-directory): Change default #:sudoers value to a
'plain-file'. Don't bind it. Remove #~#$.
(maybe-string->file): New procedure.
(operating-system-etc-directory): Use it.
(%sudoers-specification): Use 'plain-file'.
* doc/guix.texi (operating-system Reference): Adjust accordingly.
|
|
* doc/guix.texi (G-Expressions): Mention "file-like objects" and explain
more.
|
|
* guix/gexp.scm (<plain-file>): New type.
(plain-file, plain-file-compiler): New procedures.
* tests/gexp.scm ("one plain file"): New test.
* doc/guix.texi (G-Expressions): Document 'plain-file'.
|
|
* guix/scripts/environment.scm (%options): Add "ad-hoc" option.
(show-help): Display help for "--ad-hoc".
(packages+propagated-inputs): New procedure.
(guix-environment): Create ad hoc environment when asked.
* doc/guix.texi ("invoking guix environment"): Document it.
|
|
* doc/guix.texi (Build Environment Setup, Invoking guix-daemon): Mention
--disable-chroot as needed for non-root users.
|
|
* guix/ui.scm (load*): Add #:on-error parameter.
[tag, error-string]: New variables.
Wrap 'load' call in 'call-with-prompt'. Pass TAG to 'make-stack'. Honor
ON-ERROR after 'report-load-error' call.
(report-load-error): Change to not exit on error. Make private.
* guix/scripts/system.scm (show-help, %options): Add --on-error.
(guix-system): Use 'load*' and pass it #:on-error.
|
|
* doc/guix.texi (operating-system Reference): Add missing "kernel".
|
|
* gnu/system/shadow.scm (%base-user-accounts): New variable.
* gnu/system.scm (<operating-system>)[users]: Use it as the default value.
* gnu/system/examples/bare-bones.tmpl (users): Use it.
* gnu/system/examples/desktop.tmpl (users): Likewise.
* doc/guix.texi (operating-system Reference, User Accounts): Adjust
accordingly.
|
|
* doc/guix.texi (Running Guix Before It Is Installed): New node.
(Packaging Guidelines): Refer to it.
|
|
* doc/guix.texi (Top): Add "package Reference" and "origin Reference" in
detailed node list.
|
|
* doc/guix.texi (Package Modules): Clarify the footnote about the module file
names convention. Tweak the wording.
|
|
* doc/guix.texi (Invoking guix package): Add xref to "package Reference".
(package Reference): Add xref to "Invoking guix package".
Expound 'native-inputs' example, and add xref to "Invoking guix lint".
|
|
* doc/guix.texi (Defining Packages): Add xref to "origin Reference".
|
|
* doc/guix.texi (Invoking guix package): Mention the declarative approach and
--manifest in the intro. And an anchor for --manifest. Explain why/how it
can be used. Tweak wording.
|
|
* gnu/services/xorg.scm (xorg-configuration-file): Add #:extra-config and
honor it.
* doc/guix.texi (X Window): Adjust accordingly.
|
|
* gnu/services/xorg.scm (xorg-configuration-file): New procedure, with code
formerly in 'xorg-start-command'.
(xorg-start-command): Remove #:drivers and #:resolutions; add
#:configuration-file; use it as well as 'xorg-configuration-file'.
|
|
This reverts commit 8c3a5d7059a24e9c6d7bf14be296169cdcf06ad6, which is no
longer needed due to commit b2a5fa594e66b9d929df11fc7a38e4b367a00a5e.
|
|
* guix/scripts/package.scm (show-help): Add help text.
(%options): Add manifest option.
(guix-package): Add manifest option handler.
* doc/guix.texi ("Invoking guix package"): Document it.
* tests/guix-package.sh: Add test.
|
|
* guix/scripts/package.scm (search-path-environment-variables): Add #:kind
parameter. Pass it to 'environment-variable-definition'.
(display-search-paths): Add #:kind parameter and pass it to
'search-path-environment-variables'.
(%options): Add an optional parameter for "--search-paths".
(guix-package)[process-query]: Handle it.
* tests/guix-package-net.sh: Adjust existing test.
* tests/guix-package.sh: Adjust existing tests and add new test.
* doc/guix.texi (Invoking guix package): Document it.
|
|
* doc/guix.texi (Defining Packages): Link to "package Reference". Add menu.
(package Reference, origin Reference): New subsections.
|
|
* guix/scripts/gc.scm (show-help, %options): Add --optimize.
(guix-gc): Handle it.
|
|
* m4/guix.m4 (GUIX_CHECK_CXX11, GUIX_ASSERT_CXX11): New macros.
* config-daemon.ac: Use 'AC_LANG([C++])' and 'GUIX_ASSERT_CXX11'.C
* doc/guix.texi (Requirements): Mention C++11 support.
|
|
* doc/guix.texi (Top): Update detailed node listing.
|
|
Fixes a thinko introduced in 175ced4.
* gnu/system/install.scm (self-contained-tarball): Use "root:0" as the
owner and group.
* doc/guix.texi (Binary Installation): Revert 175ced4.
|
|
Suggested by Andreas Enge <andreas@enge.fr>
at <http://lists.gnu.org/archive/html/guix-devel/2015-05/msg00220.html>.
* gnu/system/install.scm (self-contained-tarball): Pass --owner and
--group to 'tar'.
* doc/guix.texi (Binary Installation): Move group and account creation
before extraction. Make "run the daemon" a separate step.
|
|
* doc/guix.texi (Build Environment Setup): Suggest the user and group
names as used on GuixSD.
(Binary Installation): Adjust accordingly.
|
|
Suggested by Andreas Enge <andreas@enge.fr>
at <http://lists.gnu.org/archive/html/guix-devel/2015-05/msg00220.html>.
* doc/guix.texi (Binary Installation): Use the longer 'guix' file name.
|
|
Reported by Scott McDonough <smcdonough1@gmail.com>
in <http://bugs.gnu.org/20582>.
* doc/guix.texi (System Installation): Suggested setting the interface
up before running 'dhclient'.
|
|
Reported by Andreas Enge <andreas@enge.fr>.
* doc/guix.texi (Binary Installation): Suggest --skip-old-files when
extracting the archive.
|
|
* doc/guix.texi (System Installation): Increase package count.
|
|
* guix/scripts/publish.scm (show-help, %options): Add --listen.
(getaddrinfo*): New procedure.
(%default-options): Add 'address'.
(open-server-socket): Replace 'addr' and 'port' with 'address', a
sockaddr.
(guix-publish): Adjust accordingly. Augment "publishing" message with
the actual address.
* doc/guix.texi (Invoking guix publish): Document it.
|
|
* guix/scripts/publish.scm (show-help): Add --user.
(%options): Likewise.
(run-publish-server): Change 'port' parameter to 'socket'. Pass
#:socket instead of #:addr and #:port to 'run-server'. Update caller
accordingly.
(open-server-socket, gather-user-privileges): New procedures.
(guix-publish): Use them. Force %PRIVATE-KEY and %PUBLIC-KEY early
on. Warn when running as root.
* doc/guix.texi (Invoking guix publish): Document --user.
|
|
* doc/guix.texi (Substitutes): Add xref to "Invoking guix publish".
(Invoking guix publish): Add xref to "Substitutes". Explain what
Hydra is.
|
|
* doc/guix.texi: Replace "GSD" with "GuixSD".
|
|
* doc/guix.texi (Binary Installation, Invoking guix-daemon, System
Installation): Use @indicateurl instead of @code where appropriate.
|
|
* doc/guix.texi (Using the Configuration System): Add xref to "X.509
Certificates".
(X.509 Certificates): New section.
* gnu/system/examples/desktop.tmpl: Use NSS-CERTS.
|
|
* README (Requirements): Add GNU Make.
* doc/guix.texi (Requirements): Likewise.
|
|
* configure.ac: Require guile-2.0 >= 2.0.7.
* README: Adjust accordingly.
* doc/guix.texi (Requirements): Likewise.
|
|
* doc/guix.texi (System Installation): Add xref to "Using the
Configuration System" instead of including one here.
(Using the Configuration System): Remove first example, and include
os-config-bare-bones.texi instead. Include os-config-desktop.texi as
a second example.
* doc.am (OS_CONFIG_EXAMPLES_TEXI): New variable.
(BUILT_SOURCES, EXTRA_DIST, MAINTAINERCLEANFILES): Use it.
(doc/os-config.texi): Remove.
(doc/os-config-%.texi): New target.
|
|
* gnu/system/install.scm (configuration-template-service): Remove
'local-template' and 'template'. Add 'search' and 'templates'.
[activate]: Copy all of TEMPLATES to /etc/configuration.
* doc/guix.texi (System Installation): Adjust file name accordingly.
|
|
* gnu/services/avahi.scm (avahi-service): Add URL in docstring.
* doc/guix.texi (Networking Services): Document it.
(Name Service Switch): Fix cross-reference.
|
|
* gnu/services/xorg.scm (slim-service): Document session types and
~/.xsession.
* doc/guix.texi (X Window): Adjust accordingly.
|