guix/guix/scripts
Ludovic Courtès 68fa28b3c3
style: Make 'safe' policy less conservative.
Previously, a mere (arguments '(#:tests? #f)) would lead

  guix style -S inputs --input-simplification=safe

to bail out.  It now recognizes such trivial argument lists and
proceeds.

* guix/scripts/style.scm (trivial-package-arguments?): New procedure.
(simplify-package-inputs): Use it in the 'safe case instead of 'null?'.
* tests/style.scm ("input labels, 'safe' policy, trivial arguments"):
New test.
2023-05-04 17:06:43 +02:00
..
container container: Correctly report exit status. 2023-01-30 22:24:27 +01:00
git
home ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
import scripts: import: crate: Handle non-existent package. 2023-04-30 23:08:06 +02:00
system Merge remote-tracking branch 'savannah/master' into core-updates 2023-03-02 10:55:08 +00:00
archive.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
authenticate.scm
build.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
challenge.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
container.scm
copy.scm
deploy.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
describe.scm ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
discover.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
download.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
edit.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
environment.scm environment: Really auto-load (guix scripts pack). 2023-04-19 20:12:19 -04:00
gc.scm
git.scm
graph.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
hash.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
home.scm Merge remote-tracking branch 'origin/master' into core-updates 2023-03-20 18:49:06 +01:00
import.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
install.scm
lint.scm
offload.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
pack.scm pack: "fakechroot" engine passes the recursive RUNPATH to ld.so. 2023-03-17 23:20:35 +01:00
package.scm Merge remote-tracking branch 'origin/master' into core-updates 2023-03-20 18:49:06 +01:00
perform-download.scm
processes.scm
publish.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
pull.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
refresh.scm refresh: Support select packages SUBSET by module name. 2023-04-23 15:28:46 +08:00
remove.scm
repl.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
search.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
shell.scm environment: Add '--nesting'. 2023-04-06 18:34:15 +02:00
show.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
size.scm
style.scm style: Make 'safe' policy less conservative. 2023-05-04 17:06:43 +02:00
substitute.scm substitute: Download nar from another server upon ETIMEDOUT. 2023-04-19 20:12:20 -04:00
system.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
time-machine.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
upgrade.scm
weather.scm