aboutsummaryrefslogtreecommitdiff
path: root/doc/guix.texi
Commit message (Collapse)AuthorAge
* store: Add #:select? parameter to 'add-to-store'.Ludovic Courtès2016-06-15
| | | | | | | | | | * guix/store.scm (write-arg): Remove 'file' case. (true): New procedure. (add-to-store): Add #:select? parameter and honor it. Use hand-coded stub instead of 'operation'. (interned-file): Add #:select? parameter and honor it. * doc/guix.texi (The Store Monad): Adjust 'interned-file' documentation accordingly.
* packages: The 'source' can be any lowerable object.Ludovic Courtès2016-06-15
| | | | | | | | | | | * guix/packages.scm (expand-input): Use 'struct?' instead of 'origin?' when matching SOURCE. (package-source-derivation): Use 'lower-object' instead of 'origin->derivation'. * tests/packages.scm ("package-source-derivation, local-file"): New test. * doc/guix.texi (package Reference): Update 'source' documentation accordingly.
* import: pypi: read requirements from wheels.Cyril Roelandt2016-06-14
| | | | | | | | * doc/guix.tex (Invoking guix import): Mention that the pypi importer works better with "unzip". * guix/import/pypi.scm (latest-wheel-release, wheel-url->extracted-directory): New procedures. * tests/pypi.scm (("pypi->guix-package, wheels"): New test.
* doc: Fix default value of #:recursive? for 'local-file'.Ludovic Courtès2016-06-12
| | | | | * doc/guix.texi (G-Expressions): The #:recursive? parameter of 'local-file' defaults to #f.
* publish: Add '--ttl'.Ludovic Courtès2016-06-09
| | | | | | | | * guix/scripts/publish.scm (show-help, %options): Add --ttl. (render-narinfo): Add #:ttl and honor it. (make-request-handler): Add #:narinfo-ttl and honor it. (run-publish-server): Likewise. (guix-publish): Honor --ttl, pass it to 'run-publish-server'.
* doc: Add missing quotes in wpa_supplicant example.Ludovic Courtès2016-06-08
| | | | | | | Reported by Kete Foy <kete@ninthfloor.org>. * doc/guix.texi (Preparing for Installation): Add quotes in wpa_supplicant example.
* gnu: services: Add dicod-service.宋文武2016-06-05
| | | | | | * gnu/services/dict.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Various Services): Document it.
* doc: Mention the 'ip' command.Ludovic Courtès2016-06-05
| | | | | | Suggested by Alex Kost <alezost@gmail.com>. * doc/guix.texi (Preparing for Installation): Mention 'ip'.
* doc: Explain that packages can be installed in the installation system.Ludovic Courtès2016-06-03
| | | | | * doc/guix.texi (Preparing for Installation): Add paragraph about package installation in the installation system.
* doc: Update specification for Python packagesHartmut Goebel2016-06-01
| | | | | | | * doc/guix.texi (Python Packages): Add rule for packages with upstream name starting with "py". Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* doc: Clarify non-interference when installed on a foreign distro.Ludovic Courtès2016-06-01
| | | | | | | Suggested by Hartmut Goebel <h.goebel@crazy-compilers.com>. * doc/guix.texi (Installation): Add paragraph explaining that files live in two directories.
* doc: Suggest pgp.mit.edu.Ludovic Courtès2016-06-01
| | | | | * doc/guix.texi (Binary Installation): Use pgp.mit.edu instead of keys.gnupg.net, which seems to be dead.
* daemon: rounds: Keep the differing output if -K is given.Eelco Dolstra2016-05-31
| | | | Regardless of -K, we now also print which output differs.
* daemon: check: Keep the differing output if -K is given.Eelco Dolstra2016-05-31
| | | | | | | | | | | | | | | | | | | This makes it easier to investigate the non-determinism, e.g. $ nix-build pkgs/stdenv/linux -A stage1.pkgs.zlib --check -K error: derivation ‘/nix/store/l54i8wlw22656i4pk05c52ngv9rpl39q-zlib-1.2.8.drv’ may not be deterministic: output ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8’ differs from ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check’ $ diffoscope /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8 /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check ... ├── lib/libz.a │ ├── metadata │ │ @@ -1,15 +1,15 @@ │ │ -rw-r--r-- 30001/30000 3096 Jan 12 15:20 2016 adler32.o ... │ │ +rw-r--r-- 30001/30000 3096 Jan 12 15:28 2016 adler32.o ... Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* services: Add urandom-seed-service.Leo Famulari2016-05-28
| | | | | | | | | | Fixes <http://bugs.gnu.org/23605>. * gnu/services/base.scm (urandom-seed-service): New procedure. (%random-seed-file, urandom-seed-service-type): New variables. (%urandom-seed-shepherd-service): New procedure. (%base-services): Call 'urandom-seed-service'. * doc/guix.texi (Base Services): Document it.
* doc: Fix typo.Mathieu Lirzin2016-05-26
| | | | * doc/guix.texi (Derivations): Add 's' to "contain".
* size: Accept several arguments.Ludovic Courtès2016-05-24
| | | | | | * guix/scripts/size.scm (display-profile): Display WHOLE at then end. (guix-size): Accept several FILES. * doc/guix.texi (Invoking guix size): Add example with several items.
* graph: Allow store file names for 'derivation' and 'references' graphs.Ludovic Courtès2016-05-21
| | | | | | | | | | | | | | * guix/scripts/graph.scm (%derivation-node-type)[convert]: Add 'derivation-path?' and catch-all clauses. (%reference-node-type)[convert]: Add 'store-path?' and catch-all clauses. (assert-package, nodes-from-package): New procedures. (%package-node-type, %bag-node-type,%bag-with-origins-node-type) (%bag-emerged-node-type): Add 'convert' field (guix-graph): Rename 'packages' to 'items' and allow 'store-path?' arguments. * guix/graph.scm (<node-type>)[convert]: Adjust comment. * doc/guix.texi (Invoking guix graph): Document it.
* lint: Honor 'cpe-name' and 'cpe-version' package properties.Ludovic Courtès2016-05-17
| | | | | | | | | | * guix/scripts/lint.scm (package-name->cpe-name): Remove. (package-vulnerabilities): Honor 'cpe-name' and 'cpe-version' properties. * gnu/packages/grub.scm (grub)[properties]: New field. * gnu/packages/gnuzilla.scm (icecat)[properties]: Add 'cpe-name' and 'cpe-version'. * doc/guix.texi (Invoking guix lint): Mention 'cpe-name'.
* doc: Fix typo.Ludovic Courtès2016-05-11
| | | | * doc/guix.texi (Base Services): "gpm-service", not "gmp-service-type".
* doc: Suggest long OpenPGP key ID.Ludovic Courtès2016-05-08
| | | | * doc/guix.texi (Binary Installation): Use long OpenPGP key ID.
* services: Add connman-service.Efraim Flashner2016-05-05
| | | | | | | * gnu/services/networking.scm (connman-service): New procedure. (connman-service-type, %connman-activation): New variables. (connman-shepherd-service): New procedure. * doc/guix.texi (Networking Services): Document it.
* challenge: Use exit code 2 when discrepancies are found.Ludovic Courtès2016-04-27
| | | | | | | | Suggested by John Darrington <john@darrington.wattle.id.au>. * guix/scripts/challenge.scm (guix-challenge): Exit with 2 when MISSING is not empty. * doc/guix.texi (Invoking guix challenge): Document it.
* guix gc: Add '--free-space'.Ludovic Courtès2016-04-25
| | | | | | * guix/scripts/gc.scm (show-help, %options): Add '--free-space'. (guix-gc)[ensure-free-space]: New procedure. Handle '--free-space'.
* build: Move 'Makefile' fragments to subdirectories.Mathieu Lirzin2016-04-21
| | | | | | | | | | | | | | | | | | This follows a convention used by some other GNU packages like Autoconf, Bison, Coreutils, and Gnulib. * doc.am: Rename to ... * doc/local.mk: ... this. * emacs.am: Rename to ... * emacs/local.mk: ... this. * gnu-system.am: Rename to ... * gnu/local.mk: ... this. * daemon.am: Rename to ... * nix/local.mk: ... this. * Makefile.am: Adapt to them. * doc/guix.texi (Porting to a New Platform): Adapt documentation. * guix/config.scm.in (%state-directory, %config-directory): Adapt comments. * emacs/guix-config.el.in (guix-config-state-directory): Likewise.
* doc: Add "X.509 Certificates" section under "Application Setup".Ludovic Courtès2016-04-20
| | | | | | | Reported by Roel Janssen <roel@gnu.org>. * doc/guix.texi (Application Setup)[X.509 Certificates]: New section. (X.509 Certificates): Add an example of certificates in the profile.
* doc: Add specification for Java packagesHartmut Goebel2016-04-19
| | | | * doc/guix.texi (Java Packages): New subsection.
* doc: Mention 'mkswap' during installation.Ludovic Courtès2016-04-19
| | | | | | Reported by Thierry Micoud <thierrymicoud@gmail.com>. * doc/guix.texi (Preparing for Installation): Mention 'mkswap'.
* doc: emacs: Add "Package Source Locations" section.Alex Kost2016-04-18
| | | | | | | | * doc/emacs.texi (Emacs Commands): Move description of 'guix-edit' command to... (Emacs Package Locations): ... here. Document 'guix-find-location'. New node. * doc/guix.texi (Top): Add it.
* mapped-devices: LUKS partitions can be designated by their UUID.Ludovic Courtès2016-04-18
| | | | | | | | | | * gnu/system/mapped-devices.scm (device-mapping-service-type): Add 'modules' and 'imported-modules' fields to 'shepherd-service'. (open-luks-device): Use 'find-partition-by-luks-uuid' to lookup the partition when SOURCE is a bytevector. * gnu/system/linux-initrd.scm (base-initrd): Augment 'use-modules' form. * doc/guix.texi (Mapped Devices): Give example with a UUID.
* services: 'console-keymap-service' takes multiple files.Alex Kost2016-04-17
| | | | | | | | * gnu/services/base.scm (console-keymap-service-type): Type procedure takes a list of files instead of a single file. (console-keymap-service): Take 'files' as rest arguments. * doc/guix.texi (Base Services): Improve documentation of 'console-keymap-service'.
* doc: Update 'skeletons' field documentation.Ludovic Courtès2016-04-17
| | | | | * doc/guix.texi (operating-system Reference): Update documentation of 'skeletons' as a followup to e79467f63a06811ba5dd8c8b0cc79553c5dd4e3a.
* doc: Use new PACKAGE@VERSION syntax in example.Ludovic Courtès2016-04-17
| | | | | * doc/guix.texi (Using the Configuration System): Use PACKAGE@VERSION syntax.
* doc: Fix typos.Ludovic Courtès2016-04-16
| | | | * doc/guix.texi (Hardware Considerations): Fix typos.
* doc: Remove mention of GNU release freshness checks.Ludovic Courtès2016-04-16
| | | | | | * doc/guix.texi (Invoking guix package): Remove paragraph about automatic check for latest GNU releases, which was removed in 6caa4dfa37e9b87336908e188500c14b402a0090.
* doc: Add a reference to 'Invoking guix archive'.Mathieu Lirzin2016-04-15
| | | | | * doc/guix.texi (Common Build Options): Add a reference to 'Invoking guix archive'.
* doc: Update reproducible-builds.org URL.Ludovic Courtès2016-04-06
| | | | | * doc/guix.texi (Invoking guix challenge): Update reproducible-builds URL.
* doc: Use more https URLs.Ludovic Courtès2016-04-06
| | | | * doc/guix.texi (Invoking guix challenge): Use https instead of http.
* challenge: Really exit with non-zero upon hash mismatch.Ludovic Courtès2016-04-06
| | | | | | | | | | Reported by John Darrington. * guix/scripts/challenge.scm (guix-challenge): Add an explicit 'exit' call when ISSUES is empty. * scripts/guix.in: Add comment about 'exit'. * doc/guix.texi (Invoking guix challenge): Mention the behavior and exit code.
* doc: Update use of old "PACKAGE-VERSION" syntax.Ludovic Courtès2016-04-06
| | | | * doc/guix.texi (Invoking guix edit): Use the @ syntax for versions.
* build: Add a Guile custom test driver using SRFI-64.Mathieu Lirzin2016-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before that '.log' files for scheme tests were fragmented and not included in test-suite.log. This unifies the semantics of SRFI-64 API with Automake test suite. * build-aux/test-driver.scm: New file. * Makefile.am (SCM_LOG_DRIVER, AM_SCM_LOG_DRIVER_FLAGS): New variables. (SCM_LOG_COMPILER, AM_SCM_LOG_FLAGS): Delete variables. (AM_TESTS_ENVIRONMENT): Set GUILE_AUTO_COMPILE to 0. * test-env.in: Silence guix-daemon. * doc/guix.texi (Running the Test Suite): Describe how to display the detailed results. Bug reports require only 'test-suite.log' file. * tests/base32.scm, tests/build-utils.scm, tests/builders.scm, tests/challenge.scm, tests/cpan.scm, tests/cpio.scm, tests/cran.scm, tests/cve.scm, tests/derivations.scm, tests/elpa.scm, tests/file-systems.scm, tests/gem.scm, tests/gexp.scm, tests/gnu-maintenance.scm, tests/grafts.scm, tests/graph.scm, tests/gremlin.scm, tests/hackage.scm, tests/hash.scm, tests/import-utils.scm, tests/lint.scm, tests/monads.scm, tests/nar.scm, tests/packages.scm, tests/pk-crypto.scm, tests/pki.scm, tests/profiles.scm, tests/publish.scm, tests/pypi.scm, tests/records.scm, tests/scripts-build.scm, tests/scripts.scm, tests/services.scm, tests/sets.scm, tests/size.scm, tests/snix.scm, tests/store.scm, tests/substitute.scm, tests/syscalls.scm, tests/system.scm, tests/ui.scm, tests/union.scm, tests/upstream.scm, tests/utils.scm: Don't exit at the end of test groups. * tests/containers.scm: Likewise. Use 'test-skip' instead of exiting with error code 77.
* import: Add Hackage updater.Eric Bavier2016-03-30
| | | | | | | | * guix/import/hackage.scm (guix-package->hackage-name, hackage-package?) (latest-release): New procedures. (%hackage-updater): New variable. * guix/scripts/refresh.scm (%updaters): Add it. * doc/guix.texi (Invoking guix refresh): Mention it.
* doc: Small fixes for typos and missing words.Roel Janssen2016-03-30
| | | | | | | | * doc/guix.texi (The Store Monad): Add a dot at the end of a sentence. (The Store Monad): Add "are" to make a complete sentence. (G-Expressions): Fix typo. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* doc: Clarify how to use the '#:python' parameter.Chris Marusich2016-03-30
| | | | | | | | * doc/guix.texi (Build Systems): Clearly distinguish between the package that provides the Python interpreter for the build and the package that is to be built. Also, mention why one might want to use a specific Python version. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* doc: We have even more than 3,000 packages.Ludovic Courtès2016-03-28
| | | | | | Suggested by Chris Marusich <cmmarusich@gmail.com>. * doc/guix.texi (Limitations): Increase package count.
* doc: Explain why the config file should be stored on the target.Ludovic Courtès2016-03-28
| | | | | | | Suggested by Chris Marusich <cmmarusich@gmail.com>. * doc/guix.texi (Proceeding with the Installation): Explain why the config file should be on the target file system.
* doc: Suggest 'dhclient -v'.Ludovic Courtès2016-03-28
| | | | | | Suggested by Chris Marusich <cmmarusich@gmail.com>. * doc/guix.texi (Preparing for Installation): Add "-v" for dhclient.
* doc: Suggest running "info info" during system installation.Ludovic Courtès2016-03-28
| | | | | | Based on a suggestion by Chris Marusich <cmmarusich@gmail.com>. * doc/guix.texi (System Installation): Suggest running "info info".
* doc: Clarify 'cow-store'.Ludovic Courtès2016-03-28
| | | | | | | Suggested by Chris Marusich <cmmarusich@gmail.com>. * doc/guix.texi (Proceeding with the Installation): Clarify what 'cow-store' is about.
* doc: Make it clear that networking is needed for GuixSD installation.Ludovic Courtès2016-03-28
| | | | | | | Suggested by Jan Nieuwenhuizen <janneke@gnu.org>. * doc/guix.texi (Preparing for Installation): Make it clear that networking is required.