guix-play/guix/scripts
Hartmut Goebel 891a843d51
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.
2016-11-15 17:37:49 +01:00
..
container
import ui: Do not shadow '_' where it's used as a literal syntax match. 2016-09-20 23:22:42 +09:00
archive.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
authenticate.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
build.scm guix build: Add '--with-graft'. 2016-10-17 23:59:02 +02:00
challenge.scm challenge: Disable grafting. 2016-07-14 19:07:07 +02:00
container.scm
download.scm guix download: Add '--no-check-certificate' option. 2016-11-07 23:39:01 +01:00
edit.scm edit: Do not honor 'GUIX_BUILD_OPTIONS'. 2016-08-19 17:34:37 +02:00
environment.scm container: Pass a list of <file-system> objects as things to mount. 2016-11-10 18:01:44 +01:00
gc.scm guix gc: Display of saved space for garbage collection. 2016-07-16 14:41:39 +02:00
graph.scm graph: Add '%referrer-node-type'. 2016-10-15 23:46:39 +02:00
hash.scm guix hash: Interpret '-' as standard input. 2016-10-28 22:30:17 +02:00
import.scm import: Gracefully report import failures. 2016-05-17 14:02:48 +02:00
lint.scm guix: Add lint-checker for packages which should be no inputs at all. 2016-11-15 17:37:49 +01:00
offload.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
package.scm profiles: Extract a procedure for getting relative generation numbers. 2016-11-06 18:08:53 +01:00
publish.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
pull.scm
refresh.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
size.scm size: Fix corner case with multiple items on the command line. 2016-07-29 22:32:04 +02:00
substitute.scm substitute: Disable HTTPS certificate verification. 2016-11-12 13:04:45 +01:00
system.scm system: Use grub from bootloader configuration. 2016-11-08 14:35:05 +00:00