guix-devel/guix/scripts
Ludovic Courtès e87f0591f3 monads: Move '%store-monad' and related procedures where they belong.
This turns (guix monads) into a generic module for monads, and moves the
store monad and related monadic procedures in their corresponding
module.

* guix/monads.scm (store-return, store-bind, %store-monad, store-lift,
  text-file, interned-file, package-file, package->derivation,
  package->cross-derivation, origin->derivation, imported-modules,
  compiled, modules, built-derivations, run-with-store): Move to...
* guix/store.scm (store-return, store-bind, %store-monad, store-lift,
  text-file, interned-file): ... here.
  (%guile-for-build): New variable.
  (run-with-store): Moved from monads.scm.  Remove default value for
  #:guile-for-build.
* guix/packages.scm (default-guile): Export.
  (set-guile-for-build): New procedure.
  (package-file, package->derivation, package->cross-derivation,
  origin->derivation): Moved from monads.scm.
* guix/derivations.scm (%guile-for-build): Remove.
  (imported-modules): Rename to...
  (%imported-modules): ... this.
  (compiled-modules): Rename to...
  (%compiled-modules): ... this.
  (built-derivations, imported-modules, compiled-modules): New
  procedures.
* gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/dbus.scm,
  gnu/services/dmd.scm, gnu/services/networking.scm,
  gnu/services/ssh.scm, gnu/services/xorg.scm, gnu/system/install.scm,
  gnu/system/linux-initrd.scm, gnu/system/shadow.scm, guix/download.scm,
  guix/gexp.scm, guix/git-download.scm, guix/profiles.scm,
  guix/svn-download.scm, tests/monads.scm: Adjust imports accordingly.
* guix/monad-repl.scm (default-guile-derivation): New procedure.
  (store-monad-language, run-in-store): Use it.
* build-aux/hydra/gnu-system.scm (qemu-jobs): Add explicit
  'set-guile-for-build' call.
* guix/scripts/archive.scm (derivation-from-expression): Likewise.
* guix/scripts/build.scm (options/resolve-packages): Likewise.
* guix/scripts/environment.scm (guix-environment): Likewise.
* guix/scripts/system.scm (guix-system): Likewise.
* doc/guix.texi (The Store Monad): Adjust module names accordingly.
2015-01-14 13:34:52 +01:00
..
import import: Add CPAN importer. 2015-01-09 10:38:26 -06:00
archive.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
authenticate.scm authenticate: Add compatibility hack for Guile 2.0.5. 2014-05-16 10:22:19 +02:00
build.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
download.scm Use `port-sha256' and `open-sha256-port'. 2013-07-03 01:18:24 +02:00
environment.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
gc.scm ui: Add 'size->number'. 2014-04-08 22:01:44 +02:00
hash.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
import.scm import: Add CPAN importer. 2015-01-09 10:38:26 -06:00
lint.scm lint: Add tests for the 'home-page' checker. 2014-12-29 21:17:36 +01:00
offload.scm offload: Remove mutual exclusion on transfers. 2014-10-29 00:31:23 +01:00
package.scm guix: scripts: Parse $GUIX_BUILD_OPTIONS separately. 2014-12-06 16:03:49 +01:00
pull.scm pull: Use the build procedure provided by the newly-downloaded Guix. 2014-11-09 22:33:45 +01:00
refresh.scm refresh: Add end-of-line to error message. 2014-10-20 17:03:02 -05:00
substitute-binary.scm substitute-binary: Micro-optimize 'narinfo-sha256'. 2015-01-09 01:10:31 +01:00
system.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00