guix-devel/guix/scripts
Ludovic Courtès 5f93d97005
Add (guix self) and use it when pulling.
This mitigates <https://bugs.gnu.org/27284>.

* guix/self.scm: New file.
* Makefile.am (MODULES): Add it.
* build-aux/build-self.scm (libgcrypt, zlib, gzip, bzip2, xz)
(false-if-wrong-guile, package-for-current-guile, guile-json)
(guile-ssh, guile-git, guile-bytestructures): Remove.
(build): Rewrite to simply delegate to 'compiled-guix'.
* gnu/packages.scm (%distro-root-directory): Rewrite to try different
directories.
* guix/discovery.scm (guix): Export 'scheme-files'.
* guix/scripts/pull.scm (build-and-install): Split into...
(install-latest): ... this.  New procedure.  And...
(build-and-install): ... this, which now takes a monadic value argument.
(indirect-root-added): Remove.
(guix-pull): Call 'add-indirect-root'.  Call 'build-from-source' and
pass the result to 'build-and-install'.
2017-11-21 23:09:16 +01:00
..
container ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
import import: Add JSON importer. 2017-09-28 13:10:11 +02:00
system guix system: Add 'search' command. 2017-09-16 17:47:46 +02:00
archive.scm scripts: Remove 'max-silent-time' from the default options. 2017-09-01 10:29:39 +02:00
authenticate.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
build.scm guix: Revert accidentally committed changes. 2017-09-28 16:34:12 +02:00
challenge.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
container.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
copy.scm scripts: Remove 'max-silent-time' from the default options. 2017-09-01 10:29:39 +02:00
download.scm Add (guix progress). 2017-10-19 23:21:49 +02:00
edit.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
environment.scm scripts: Remove 'max-silent-time' from the default options. 2017-09-01 10:29:39 +02:00
gc.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
graph.scm graph: Remove mention of Graphviz from the summary line. 2017-10-28 09:45:54 +02:00
hash.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
import.scm import: Add JSON importer. 2017-09-28 13:10:11 +02:00
lint.scm lint: 'refresh' gracefully handles lack of networking access. 2017-10-28 09:45:54 +02:00
offload.scm offload: Reduce the number of calls to 'machine-load'. 2017-10-12 17:51:41 +02:00
pack.scm scripts: Remove 'max-silent-time' from the default options. 2017-09-01 10:29:39 +02:00
package.scm guix package: '--list-available' does not show superseded packages. 2017-10-25 22:25:19 -07:00
perform-download.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
publish.scm publish: Cache uncompressed nars as well. 2017-10-05 23:05:06 +02:00
pull.scm Add (guix self) and use it when pulling. 2017-11-21 23:09:16 +01:00
refresh.scm refresh: Account for hidden packages. 2017-11-07 00:12:10 +01:00
size.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
substitute.scm substitute: Don't send more than 1000 requests in a row. 2017-10-25 22:25:19 -07:00
system.scm guix system: Error out when passed a wrong file system UUID/label. 2017-10-05 12:09:17 +02:00
weather.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00