~ruther/guix-local

ref: de5bc89093895744e9d0cdcf26c9b3bc971a8f0e guix-local/doc d---------
891a843d — Hartmut Goebel 9 years ago
guix: Add lint-checker for packages which should be no inputs at all.

Also refactor some common code into a new function.

Examples for these pacakges are python(2)-setuptools and python(2)-pip, which
are installed together with python itself.

* guix/scripts/lint.scm (warn-if-package-has-input): New procedure.
  (check-inputs-should-be-native package): Use it; rename and clean-up
  variables. (check-inputs-should-not-be-an-input-at-all): New procedure.
  (%checkers) Add it.
* doc/guix.texi (Python Modules): Document it.
* tests/lint.scm: ("inputs: python-setuptools should not be an input at all
  (input)", "inputs: python-setuptools should not be an input at all
  (native-input)" "inputs: python-setuptools should not be an input at all
  (propagated-input)"): Add tests.
5f7565d1 — Hartmut Goebel 9 years ago
guix: python-build-system: Add option "#:use-setuptools?" (default true).

* guix/build-system/python.scm (python-build): New keyword argument
  "#:use-setuptools?", defaulting to #t.
* guix/build/python-build-system.scm (call-setup-py): New positional
  parameter "use-setuptools?". If false, do not use the shim-wrapper
  for addin setuptools. (build, check): accept keyword-
  parameter, and pass to call-setuppy. (install): same; if
  "use-setuptools?" is false, do not use options "--root" and
  "--single-version-externally-managed" for setup.py.
* doc/guix.texi (Build Systems): Document it.
aaf75c89 — Hartmut Goebel 9 years ago
gnu: ensure pip and setuptools are installed even for Python 2.

* gnu/packages/python.scm (python-2.7): Add "--with-ensurepip=install" to
  configure-flags.
* doc/guix.texi (Python Modules): Document it.
2cccbc2a — Tomáš Čech 9 years ago
services: Add wpa-supplicant-service.

* gnu/services/networking.scm (wpa-supplicant-service): New procedure.
(wpa-supplicant-service-type): New variable.
* doc/guix.texi (Networking Services): Document it.
2cab1dd5 — Ludovic Courtès 9 years ago
Merge branch 'core-updates'
e32171ee — John Darrington 9 years ago
doc: Added some index entries.

* doc/guix.texi: Added various @cindex tags to assist readers.
624144e0 — Ludovic Courtès 9 years ago
doc: Mention elpa.gnu.org package signatures.

* doc/guix.texi (Invoking guix import): Document elpa.gnu.org
signatures.
859e367d — John Darrington 9 years ago
gnu: Add pam-krb5 service.

* doc/guix.texi (Kerberos Services): New node.
* gnu/services/kerberos.scm: New file.
* gnu/local.mk: Add it.
64b8695c — Ludovic Courtès 9 years ago
guix download: Add '--no-check-certificate' option.

* guix/download.scm (download-to-store): Add #:verify-certificate?
parameter and honor it.
* guix/scripts/download.scm (%default-options): Add
'verify-certificate?' key.
(show-help, %options): Add '--no-check-certificate'.
(guix-download): Pass #:verify-certificate to 'download-to-store'.
* doc/guix.texi (Invoking guix download): Document it.
bc3c41ce — Ludovic Courtès 9 years ago
download: Verify TLS certificates unless asked not to.

Fixes <http://bugs.gnu.org/24466>.
Reported by Leo Famulari <leo@famulari.name>.

* guix/build/download.scm (%x509-certificate-directory): New variable.
(make-credendials-with-ca-trust-files, peer-certificate)
(assert-valid-server-certificate, print-tls-certificate-error): New
procedures.  Add 'print-tls-certificate-error' as an exception printer
for 'tls-certificate-error'.
(tls-wrap): Add #:verify-certificate? parameter and honor it.
(open-connection-for-uri): Likewise.
(http-fetch): Likewise.
(url-fetch): Likewise.
* guix/download.scm (url-fetch)[builder]: Pass #:verify-certificate? #f.
* guix/scripts/lint.scm (probe-uri): Add case for 'tls-certificate-error'.
(validate-uri): Likewise.
* doc/guix.texi (Invoking guix download): Mention 'SSL_CERT_DIR'.
71e21fb2 — Mark H Weaver 9 years ago
Merge branch 'master' into core-updates
8074b330 — Chris Marusich 9 years ago
system: Add 'guix system' actions: switch-generation and roll-back.

* guix/scripts/system.scm (roll-back-system, switch-to-system-generation): new
actions.
(reinstall-grub): New procedure, used by switch-to-system-generation.
(show-help, process-command, guix-system): Honor the new actions.
* doc/guix.texi (Invoking guix system) <switch-generation, roll-back>: Add the
new actions.
<reconfigure>: In the footnote, mention that the new actions also only work on
GuixSD.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
0dfebdaa — Ludovic Courtès 9 years ago
doc: State that the 'patches' field is unconditional.

* doc/guix.texi (origin Reference): State that 'patches' is
unconditional.
b3cc0dce — Leo Famulari 9 years ago
Merge branch 'master' into core-updates
4af2fafd — Ludovic Courtès 9 years ago
doc: Fix typo.

Fixes <http://bugs.gnu.org/24851>.
Reported by saffronsnail@hushmail.com.

* doc/guix.texi (Initial RAM Disk): Move parenthesis to after "of
QEMU".
205f0107 — Leo Famulari 9 years ago
Merge branch 'master' into core-updates
1ef8b72a — Chris Marusich 9 years ago
system: Record store file system info in each generation.

* gnu/system.scm (<boot-parameters>)[store-device, store-mount-point]:
New fields.
(read-boot-parameters): Initialize them.
(operating-system-grub.cfg): Likewise.  Remove STORE-FS argument from
call to 'grub-configuration-file'.
(operating-system-parameters-file): Add 'store' element in
'boot-parameters'.
* gnu/system/grub.scm (strip-mount-point): Replace 'store-fs' parameter
by 'mount-point'; adjust accordingly.  Adjust callers.
(<menu-entry>)[device, device-mount-point]: New fields.
(eye-candy): Replace 'root-fs' parameter by 'store-device'; add
'store-mount-point'.  Use keyword arguments for 'system' and 'port'.
(grub-root-search): Remove 'root-fs' by 'device' and adjust
accordingly.
(grub-configuration-file): Remove 'store-fs' parameter.  Adjust
accordingly.
* guix/scripts/system.scm (previous-grub-entries): Initialize 'device'
and 'device-mount-point' fields from PARAMS.
* doc/guix.texi (GRUB Configuration): Document 'device' and
'device-mount-point'.  Explain that 'linux' can be prefixed by a GRUB
device name.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
062c7e43 — Leo Famulari 9 years ago
Merge branch 'master' into core-updates
3ddc50db — David Craven 9 years ago
doc: Add information related to network connectivity with qemu.

* doc/guix.text: Add it.
343dc117 — Ludovic Courtès 9 years ago
guix hash: Interpret '-' as standard input.

* guix/scripts/hash.scm (guix-hash)[file-hash]: Special-case "-".
* tests/guix-hash.sh: Add test.
* doc/guix.texi (Invoking guix hash): Document it.
Next