guix-devel/guix
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
..
build build/glib-or-gtk-build-system: Fix 'generate-icon-cache'. 2015-01-13 09:16:47 +01:00
build-system guix: build/glib-or-gtk-build-system: Add support for GIO and XDG theming. 2015-01-12 18:00:08 +01:00
import import: Add CPAN importer. 2015-01-09 10:38:26 -06:00
scripts monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
base32.scm Update license headers. 2013-01-06 00:47:50 +01:00
base64.scm base64: Inline arithmetic operations. 2015-01-09 01:01:04 +01:00
build-system.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
config.scm.in build: Change state and log directories to $localstatedir/.../guix. 2014-03-09 22:10:01 +01:00
derivations.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
download.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
elf.scm Add (guix elf). 2014-11-28 00:10:28 +01:00
ftp-client.scm ftp-client: Add missing CR in "USER" command. 2014-05-03 00:46:51 +02:00
gexp.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
git-download.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
gnu-maintenance.scm gnu-maintenance: Support .zip files. 2014-11-29 22:34:59 +01:00
gnupg.scm gnupg: Correctly parse current 'SIG_ID' lines. 2014-09-24 19:08:03 +02:00
hash.scm import: Factorize utility functions. 2015-01-09 10:33:24 -06:00
http-client.scm download: Enlarge your receive buffer. 2014-05-23 22:19:37 +02:00
licenses.scm gnu: licenses: Add NCSA license. 2014-12-09 12:02:08 -06:00
monad-repl.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
monads.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
nar.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
packages.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
pk-crypto.scm pk-crypto: Improve docstring of signature-related procedures. 2015-01-04 22:46:51 +01:00
pki.scm pki: Introduce 'write-acl', and fix wrong conversion in 'ensure-acl'. 2014-04-04 00:23:17 +02:00
profiles.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
records.scm records: Optimize 'recutils->alist' by avoiding regexps. 2015-01-09 01:08:10 +01:00
serialization.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
store.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
svn-download.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
tests.scm tests: import: Factorize utility function. 2015-01-09 10:38:25 -06:00
ui.scm derivations: Add 'substitution-oracle' and use it. 2015-01-10 00:39:59 +01:00
utils.scm guix: scripts: Add GUIX_BUILD_OPTIONS environment handling. 2014-11-30 18:54:07 +01:00