guix-kreyren/guix/scripts
Timothy Sample fbc2a52a32
download: Use Disarchive as a last resort.
This is a fixed version of 66b14dccdd0d83c875ce3a8d50ceab8b6f0a3ce2,
which was reverted in e74250c3c535b75dd2225a26df51febb7ed94654.

* guix/download.scm (%disarchive-mirrors): New variable.
(%disarchive-mirror-file): New variable.
(built-in-download): Add 'disarchive-mirrors' keyword argument and
pass its value along to the 'builtin:download' derivation.
(url-fetch): Pass '%disarchive-mirror-file' to 'built-in-download'.
* guix/scripts/perform-download.scm (perform-download): Read
Disarchive mirrors from the environment and pass them to
'url-fetch'.
* guix/build/download.scm (disarchive-fetch/any): New procedure.
(url-fetch): Add 'disarchive-mirrors' keyword argument, use it to
make a list of URIs, and use the new procedure to fetch the file if
all other methods fail.
* build-aux/build-self.scm (build-program)[select?]: Exclude '(guix
build download)'.
* guix/self.scm (compiled-guix)[*core-modules*]: Add 'guile-json' to
the list of extensions.
2021-04-29 11:24:48 -04:00
..
container scripts: container: Fix typo. 2019-09-23 11:56:40 -07:00
git Add 'guix git authenticate'. 2020-07-11 12:33:01 +02:00
import import: Remove Nix importer. 2021-04-20 12:13:16 +02:00
system guix system: Adjust 'upgrade-shepherd-services' to shepherd service change. 2021-01-30 18:23:52 +01:00
archive.scm scripts: Scripts that defaulted to -v2 now default to -v3. 2021-03-31 16:08:05 +02:00
authenticate.scm authenticate: Encode strings as ISO-8859-1. 2020-09-15 14:40:20 +02:00
build.scm scripts: Scripts that defaulted to -v2 now default to -v3. 2021-03-31 16:08:05 +02:00
challenge.scm guix: Split (guix substitutes) from (guix scripts substitute). 2021-03-05 21:06:03 +00:00
container.scm scripts: Use 'define-command' and have 'guix help' use that. 2020-09-10 12:27:24 +02:00
copy.scm scripts: Scripts that defaulted to -v2 now default to -v3. 2021-03-31 16:08:05 +02:00
deploy.scm deploy: Let key-and-args exceptions through. 2020-11-26 23:39:15 +01:00
describe.scm scripts: describe: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
discover.scm scripts: discover: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
download.scm scripts: download: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
edit.scm scripts: edit: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
environment.scm environment: Allow compilation with Guile 2.2. 2021-03-01 17:45:50 +01:00
gc.scm scripts: Use 'define-command' and have 'guix help' use that. 2020-09-10 12:27:24 +02:00
git.scm scripts: Use 'define-command' and have 'guix help' use that. 2020-09-10 12:27:24 +02:00
graph.scm transformations: Show '--help-transform' only where applicable. 2020-11-21 12:39:14 +01:00
hash.scm guix hash: Honor '-H' when used alongside '-r'. 2021-01-04 11:51:48 +01:00
import.scm import: Remove Nix importer. 2021-04-20 12:13:16 +02:00
install.scm transformations: Show '--help-transform' only where applicable. 2020-11-21 12:39:14 +01:00
lint.scm scripts: lint: Display result of checkers on stdout. 2020-11-21 10:23:08 +00:00
offload.scm ssh: Use 'guix repl' instead of 'guile'. 2020-12-23 16:03:32 +01:00
pack.scm profiles: 'package->manifest-entry' preserves transformations by default. 2021-03-05 12:49:27 +01:00
package.scm guix package: Autoload Guile-JSON and (guix describe). 2021-03-19 13:23:27 +01:00
perform-download.scm download: Use Disarchive as a last resort. 2021-04-29 11:24:48 -04:00
processes.scm processes: Add '--format' and the "normalized" format. 2020-11-29 23:55:57 +01:00
publish.scm scripts: publish: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
pull.scm pull: Expand help text for --{url,commit,branch}. 2021-03-05 19:07:31 +01:00
refresh.scm guix: refresh: Do not use argument jumping with ngettext. 2020-11-18 20:58:51 +01:00
remove.scm scripts: Use 'define-command' and have 'guix help' use that. 2020-09-10 12:27:24 +02:00
repl.scm scripts: repl: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
search.scm scripts: search: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:55 +02:00
show.scm scripts: show: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:55 +02:00
size.scm scripts: Use 'define-command' and have 'guix help' use that. 2020-09-10 12:27:24 +02:00
substitute.scm http-client, substitute: Gracefully handle GnuTLS EAGAIN/EINTR. 2021-04-24 19:08:13 +02:00
system.scm scripts: system: Default to -v3 when building a system. 2021-04-11 22:13:17 -04:00
time-machine.scm time-machine: Fail when unrecognized option. 2021-03-11 23:19:53 +01:00
upgrade.scm upgrade: Allow several regexps. 2020-12-01 11:34:10 +01:00
weather.scm weather: Only show request statistics when requests were made. 2021-03-17 23:12:31 +00:00