Skip to content
Snippets Groups Projects
  1. Feb 27, 2017
  2. Feb 10, 2017
  3. Jan 13, 2017
    • Ludovic Courtès's avatar
      etc: Support indentation of whole files. · 557d9c8d
      Ludovic Courtès authored
      * etc/indent-package.el.in: Rename to...
      * etc/indent-code.el.in: ... this.  Add case for a single argument.
      * doc/contributing.texi (Formatting Code): Adjust accordingly.
      * configure.ac: Likewise.
      557d9c8d
  4. Jan 12, 2017
    • Ludovic Courtès's avatar
      etc: Add 'indent-package.el' script. · 7bb2b10c
      Ludovic Courtès authored
      
      * configure.ac: Check for 'emacs', substitute 'EMACS', and emit
      'etc/indent-package.el'.
      * etc/indent-package.el.in: New file.
      * doc/contributing.texi (Formatting Code): Mention
      'etc/indent-package.el'.
      (Submitting Patches): Likewise, and link to the above node.
      
      Co-authored-by: default avatarAlex Kost <alezost@gmail.com>
      7bb2b10c
  5. Nov 24, 2016
    • Hartmut Goebel's avatar
      Add system start-up files for "guix publish". · 332d7903
      Hartmut Goebel authored
      * .gitignore: add etc/guix-publish.conf and /etc/guix-publish.service.
      * etc/guix-publish.conf.in: New file.
      * etc/guix-publish.service.in: New file.
      * nix/local.mk (etc/guix-%.service, etc/guix-%.conf): Generalized former
        build-rules for by using patterns.
        (nodist_systemdservice_DATA): Add etc/guix-publish.service, update
        comment.
        (nodist_upstartjob_DATA): Add etc/guix-publish.conf, update comment.
      * doc/guix.texi (Invoking guix publish): Add description for enabling
        "guix publish" on host distros using the new files.
      332d7903
  6. Nov 16, 2016
    • Ludovic Courtès's avatar
      daemon: Add "builtin:download" derivation builder. · 94d92c77
      Ludovic Courtès authored
      
      This ensures that 1) the derivation doesn't change when Guix changes;
      2) the derivation closure doesn't contain Guix and its dependencies; 3)
      we don't have to rely on ugly chroot hacks.
      
      Adapted from Nix commit 0a2bee307b20411f5b0dda0c662b1f9bb9e0e131.
      
      * nix/libstore/build.cc (DerivationGoal::runChild): Add special case for
      'isBuiltin(drv)'.  Disable chroot when 'isBuiltin(drv)'.
      * nix/libstore/builtins.cc, nix/libstore/builtins.hh,
      nix/scripts/download.in, guix/scripts/perform-download.scm: New files.
      * guix/ui.scm (show-guix-help)[internal?]: Add 'perform-download'.
      * nix/local.mk (libstore_a_SOURCES): Add builtins.cc.
      (libstore_headers): Add builtins.hh.
      (nodist_pkglibexec_SCRIPTS): Add 'scripts/download'.
      * config-daemon.ac: Emit 'scripts/download'.
      * Makefile.am (MODULES): Add 'guix/scripts/perform-download.scm'.
      * tests/derivations.scm ("unknown built-in builder")
      ("'download' built-in builder")
      ("'download' built-in builder, invalid hash")
      ("'download' built-in builder, not found")
      ("'download' built-in builder, not fixed-output"): New tests.
      
      Co-authored-by: default avatarEelco Dolstra <eelco.dolstra@logicblox.com>
      94d92c77
  7. Jul 05, 2016
  8. Mar 22, 2016
    • Ludovic Courtès's avatar
      doc: Add "lightweight desktop" OS config example. · d038b674
      Ludovic Courtès authored
      * gnu/system/examples/desktop.tmpl (packages): Remove XFCE and
      RATPOISON.
      (services): Add 'gnome-desktop-service' and 'xfce-desktop-service'.
      * gnu/system/examples/lightweight-desktop.tmpl: New file.
      * Makefile.am (EXAMPLES): Add it.
      * doc.am (OS_CONFIG_EXAMPLES_TEXI): Add
      doc/os-config-lightweight-desktop.texi.
      * gnu/system/install.scm (/etc/configuration-files)[directory]: Add
      lightweight-desktop.tmpl.
      d038b674
  9. Jan 28, 2016
  10. Jan 12, 2016
  11. Nov 26, 2015
  12. Oct 14, 2015
    • Ludovic Courtès's avatar
      guix system: Add 'dmd-graph' command. · 6f305ea5
      Ludovic Courtès authored
      * guix/scripts/system.scm (dmd-service-node-label,
        dmd-service-node-type, export-dmd-graph): New procedures.
        (show-help): Add 'dmd-graph'.
        (guix-system)[parse-sub-command]: Likewise.
        Honor it.
      * doc/guix.texi (Invoking guix system): Document it.
        (dmd Services): Add an illustration and explanation.
      * doc/images/dmd-graph.dot: New file.
      * doc.am (DOT_FILES): Add it.
      6f305ea5
  13. Oct 10, 2015
    • Ludovic Courtès's avatar
      services: Introduce extensible services. · 0adfe95a
      Ludovic Courtès authored
      This patch rewrites GuixSD services to make them extensible.
      
      * gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/services/dbus.scm.
      * gnu/services.scm (<service>): Replace with new record type.
        (<service-extension>, <service-type>): New record types.
        (write-service-type, compute-boot-script, second-argument): New
        procedures.
        (%boot-service, boot-service-type): New variables.
        (file-union, directory-union, modprobe-wrapper,
        activation-service->script, activation-script,
        gexps->activation-gexp): New procedures.
        (activation-service-type, %activation-service): New variables.
        (etc-directory, files->etc-directory, etc-service): New procedures.
        (etc-service-type, setuid-program-service, firmware-service-type): New
        variables.
        (firmware->activation-gexp): New procedure.
        (&service-error, &missing-target-service-error,
        &ambiguous-target-service-error): New condition types.
        (service-back-edges, fold-services): New procedures.
      * gnu/services/avahi.scm (<avahi-configuration>): New record type.
        (configuration-file): Replace keyword parameters with a single
        'config' parameter.
        (%avahi-accounts, %avahi-activation, avahi-service-type): New
        variables.
        (avahi-dmd-service): New procedure.
        (avahi-service): Rewrite using 'service' and 'avahi-configuration'.
      * gnu/services/base.scm (%root-file-system-dmd-service,
        root-file-system-service-type): New variables.
        (root-file-system-service): Use them.
        (file-system->dmd-service-name): New procedure.
        (file-system-service-type): New variable.
        (file-system-service): Use it.  Replace keyword parameters with a
        single 'file-system' object.
        (user-unmount-service-type): New variable.
        (user-unmount-service): Use it.
        (user-processes-service-type): New variable.
        (user-processes-service): Use it.
        (host-name-service-type): New variable.
        (host-name-service): Use it.
        (console-keymap-service-type): New variable.
        (console-keymap-service): Use it.
        (console-font-service-type): New variable.
        (console-font-service): Use it.
        (mingetty-pam-service, mingetty-dmd-service): New procedures.
        (mingetty-service-type): New variable.
        (mingetty-service): Use it.
        (nscd-dmd-service): New procedure.
        (nscd-activation, nscd-service-type): New variables.
        (nscd-service): Use the latter.
        (syslog-service-type): New variable.
        (syslog-service): Use it.
        (<guix-configuration>): New record type.
        (%default-guix-configuration): New variable.
        (guix-dmd-service, guix-accounts, guix-activation): New procedures.
        (guix-service-type): New variable.
        (guix-service): Replace list of keyword parameters with a single
        'config' parameter.  Rewrite using 'service'.
        (<udev-configuration>): New record type.
        (udev-dmd-service): New procedure.
        (udev-service-type): New variable.
        (udev-service): Use it.
        (device-mapping-service-type): New variable.
        (device-mapping-service): Use it.
        (swap-service-type): New variable.
        (swap-service): Use it.
      * gnu/services/databases.scm (<postgresql-configuration>): New record
        type.
        (%postgresql-accounts, postgresql-activation): New variables.
        (postgresql-dmd-service): New procedure.
        (postgresql-service): Rewrite using 'service' and
        'postgresql-configuration'.
      * gnu/services/dbus.scm: New file.
      * gnu/services/desktop.scm (dbus-configuration-directory, dbus-service):
        Remove.
        (wrapped-dbus-service): New procedure.
        (<upower-configuration>): New record type.
        (upower-configuration-file): Replace keyword parameters with single
        <upower-configuration> parameter.
        (%upower-accounts, %upower-activation): New variables.
        (upower-dbus-service, upower-dmd-service): New procedures.
        (upower-service-type): New variable.
        (upower-service): Rewrite using 'service' and 'upower-configuration'.
        (%colord-activation, %colord-accounts): New variables.
        (colord-dmd-service): New procedure.
        (colord-service-type): New variable.
        (colord-service): Rewrite using 'service'.
        (<geoclue-configuration>): New record type.
        (geoclue-configuration-file): Replace keyword parameters with a single
        'config' parameter.
        (geoclue-dbus-service, geoclue-dmd-service): New procedures.
        (%geoclue-accounts, geoclue-service-type): New variables.
        (geoclue-service): Rewrite using 'service' and
        'geoclue-configuration'.
        (%polkit-accounts, %polkit-pam-services, polkit-service-type): New
        variables.
        (polkit-dmd-service): New procedure.
        (polkit-service): Rewrite using 'service'.
        (<elogind-configuration>)[elogind]: New field.
        (elogind-dmd-service): New procedure.
        (elogind-service-type): New variable.
        (elogind-service): Rewrite using 'service'.
        (%desktop-services): Remove argument to 'dbus-service'.  Remove 'map'
        over %BASE-SERVICES.
      * gnu/services/dmd.scm (dmd-boot-gexp): New procedure.
        (dmd-root-service-type, %dmd-root-service): New variables.
        (dmd-service-type): New macro.
        (<dmd-service>): New record type.
      * gnu/services/lirc.scm (<lirc-configuration>): New record type.
        (%lirc-activation): New variable.
        (lirc-dmd-service): New procedure.
        (lirc-service-type): New variable.
        (lirc-service): Rewrite using 'service' and 'lirc-configuration'.
      * gnu/services/networking.scm (<static-networking>): New record type.
        (static-networking-service-type): New variable.
        (static-networking-service): Rewrite using 'service' and
        'static-networking'.
        (dhcp-client-service-type): New variable.
        (dhcp-client-service): Rewrite using 'service'.
        (<ntp-configuration>): New record type.
        (ntp-dmd-service): New procedure.
        (ntp-service-type): New variable.
        (ntp-service): New procedure.
        (%tor-accounts, tor-service-type): New variable.
        (tor-dmd-service): New procedure.
        (tor-service): Rewrite using 'service'.
        (<bitlbee-configuration>): New record type.
        (bitlbee-dmd-service): New procedure.
        (%bitlbee-accounts, %bitlbee-activation, bitlbee-service-type): New
        variables.
        (bitlbee-service): Rewrite using 'service'.
        (%wicd-activation): New variable.
        (wicd-dmd-service): New procedure.
        (wicd-service-type): New variable.
        (wicd-service): Rewrite using 'service'.
      * gnu/services/ssh.scm (<lsh-configuration>): New record type.
        (activation): Rename to...
        (lsh-initialization): ... this.
        (lsh-activation, lsh-dmd-service, lsh-pam-services): New procedures.
        (lsh-service-type): New variable.
        (lsh-service): Rewrite using 'service' and 'lsh-configuration'.
      * gnu/services/web.scm (<nginx-configuration>): New record type.
        (%nginx-accounts): New variable.
        (nginx-activation, nginx-dmd-service): New procedures.
        (nginx-service-type): New variable.
        (nginx-service): Rewrite using 'service' and 'nginx-configuration'.
      * gnu/services/xorg.scm (<slim-configuration>): New record type.
        (slim-pam-service, slim-dmd-service): New procedures.
        (slim-service-type): New variable.
        (slim-service): Rewrite using 'service' and 'slim-configuration'.
      * gnu/system.scm (file-union): Remove.
        (other-file-system-services): Adjust to new 'file-system-service'
        signature.
        (essential-services): Add #:container? parameter.  Add
        %DMD-ROOT-SERVICE, %ACTIVATION-SERVICE, and calls to
        'pam-root-service', 'account-service', 'operating-system-etc-service',
        and a SETUID-PROGRAM-SERVICE instance.
        (operating-system-services): Pass #:container? to 'essential-services.
        (etc-directory): Remove.
        (operating-system-etc-service): New procedure.  Rewrite as a call to
        'etc-service'.
        (operating-system-accounts): Change to not return accounts required by
        services.
        (operating-system-etc-directory): Rewrite as a call to 'fold-services'
        and 'etc-directory'.
        (user-group->gexp, user-account->gexp, modprobe-wrapper): Remove.
        (operating-system-activation-script): Rewrite as a call to
        'fold-services' and 'activation-service->script'.
        (operating-system-boot-script): Likewise.
        (operating-system-derivation): Add call to 'lower-object'.
        (emacs-site-file, emacs-site-directory, shells-file): Change to use
        'computed-file' and 'scheme-file' instead of the monadic procedures.
      * gnu/system/install.scm (cow-store-service-type): New variable.
        (cow-store-service): Rewrite using 'service'.
        (/etc/configuration-files): New procedure.
        (configuration-template-service-type,
        %configuration-template-service): New variables.
        (configuration-template-service): Remove.
        (installation-services): Adjust accordingly.  Adjust argument to
        'guix-service'.
      * gnu/system/linux.scm (/etc-entry, pam-root-service): New procedures.
        (pam-root-service-type): New variable.
      * gnu/system/shadow.scm (user-group->gexp, user-account->gexp,
        account-activation, etc-skel, account-service): New procedures.
        (account-service-type): New variable.
      * tests/services.scm: New file.
      * doc/guix.texi (Base Services, Desktop Services): Adjust accordingly.
        (Defining Services): Rewrite.
      * doc/images/service-graph.dot: New file.
      * doc.am (DOT_FILES): Add it.
      * po/guix/POTFILES.in: Add gnu/services.scm.
      0adfe95a
  14. Aug 30, 2015
    • Mathieu Lirzin's avatar
      build: Produce 'guix-config' instead of using compile-time tricks. · bd6163d1
      Mathieu Lirzin authored
      * emacs/guix-{init,profiles}.el.in: Rename to ...
      * emacs/guix-{init,profiles}.el: ... these.  New files.
        Use 'guix-config'.
      * emacs/guix-config.el.in: New file.
      * emacs.am (nodist_lisp_DATA): Add it.  Move them to ...
        (ELFILES): ... here.
      * .gitignore, configure.ac: Adjust accordingly.
      bd6163d1
  15. Aug 26, 2015
    • Ludovic Courtès's avatar
      Add 'guix graph'. · 88856916
      Ludovic Courtès authored
      * guix/scripts/graph.scm, tests/graph.scm, tests/guix-graph.sh,
        doc/images/coreutils-bag-graph.dot, doc/images/coreutils-graph.dot: New
        files.
      * Makefile.am (MODULES): Add guix/scripts/graph.scm.
        (SH_TESTS): Add tests/guix-graph.sh.
        (SCM_TESTS): Add tests/graph.scm.
      * doc.am (DOT_FILES, DOT_VECTOR_GRAPHICS): New variables.
        (EXTRA_DIST): Use them.
        (dist_infoimage_DATA): Use $(DOT_FILES).
        (pdf-local, info-local, ps-local): Likewise.
      * doc/guix.texi (Packages with Multiple Outputs): Add cross-reference to 'guix
        graph'.
        (Invoking guix gc): Likewise.
        (Invoking guix graph): New section.
      88856916
  16. Jul 15, 2015
    • Ludovic Courtès's avatar
      Add 'guix-daemon.service' file for systemd. · d2825c96
      Ludovic Courtès authored
      * etc/guix-daemon.service.in: New file, provided by Ricardo Wurmus.
      * daemon.am (CLEANFILES): Add etc/guix-daemon.service.
        (systemdservicedir, nodist_systemdservice_DATA): New variables.
        (EXTRA_DIST): Add etc/guix-daemon.service.in.
      * doc/guix.texi (Binary Installation, Build Environment Setup): Mention
        'guix-daemon.service'.
      d2825c96
  17. Jul 07, 2015
  18. Jun 03, 2015
  19. May 25, 2015
  20. May 09, 2015
    • Ludovic Courtès's avatar
      doc: Show both the "bare-bones" and the "desktop" configurations. · dd51caac
      Ludovic Courtès authored
      * doc/guix.texi (System Installation): Add xref to "Using the
        Configuration System" instead of including one here.
        (Using the Configuration System): Remove first example, and include
        os-config-bare-bones.texi instead.  Include os-config-desktop.texi as
        a second example.
      * doc.am (OS_CONFIG_EXAMPLES_TEXI): New variable.
        (BUILT_SOURCES, EXTRA_DIST, MAINTAINERCLEANFILES): Use it.
        (doc/os-config.texi): Remove.
        (doc/os-config-%.texi): New target.
      dd51caac
  21. Mar 25, 2015
    • Ludovic Courtès's avatar
      Rename 'guix substitute-binary' to 'guix substitute'. · 2c74fde0
      Ludovic Courtès authored
      * guix/scripts/substitute-binary.scm: Rename to...
      * guix/scripts/substitute.scm: ... this.  Adjust module name, entry
        point, comments, and help string accordingly.
      * nix/scripts/substitute-binary.in: Rename to...
      * nix/scripts/substitute.in: ... this.
      * pre-inst-env.in (NIX_SUBSTITUTERS): Adjust accordingly.
      * tests/substitute-binary.scm: Rename to...
      * tests/substitute.scm: ... this.  Adjust references to (guix scripts
        substitute) accordingly.
      * guix/ui.scm (show-guix-help)[internal?]: Change "substitute-binary" to
        "substitute".
      * Makefile.am (MODULES, SCM_TESTS): Adjust to file renames.
      * daemon.am (nodist_pkglibexec_SCRIPTS): Likewise.
      * config-daemon.ac: Likewise.
      * guix/tests.scm (call-with-derivation-narinfo): Adjust comments and
        docstring.
      2c74fde0
  22. Jan 08, 2015
    • Mark H Weaver's avatar
      gnu: Add bootstrap binaries for 'armhf-linux'. · aa1e1947
      Mark H Weaver authored
      * gnu/packages/bootstrap/armhf-linux/bash,
        gnu/packages/bootstrap/armhf-linux/mkdir,
        gnu/packages/bootstrap/armhf-linux/tar,
        gnu/packages/bootstrap/armhf-linux/xz: New files.
      
      * gnu-system.am (bootstrap_armhf_linuxdir, dist_bootstrap_armhf_linux_DATA)
        (nodist_bootstrap_armhf_linux_DATA): New variables.
        (DISTCLEANFILES): Add $(nodist_bootstrap_armhf_linux_DATA).
        (gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz): New target.
      * build-aux/download.scm (file-name->uri): Use newer date in URI for
        armhf-linux.
      * gnu/packages/bootstrap.scm (raw-build): Use "guile-2.0.11.tar.xz" on
        armhf-linux.
        (glibc-dynamic-linker, %bootstrap-coreutils&co, %bootstrap-binutils)
        (%bootstrap-glibc, %bootstrap-gcc): Add armhf-linux cases.
      
      * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add armhf case.
        (GUIX_ASSERT_SUPPORTED_SYSTEM): Add armhf-linux to list of
        supported systems.
      * doc/guix.texi (GNU Distribution): Add armhf-linux to the list of
        supported systems.
      aa1e1947
  23. Dec 02, 2014
    • Alex Kost's avatar
      emacs: Move profiles code to "guix-profiles.el.in". · 3db349cb
      Alex Kost authored
      * emacs/guix-base.el (guix-user-profile, guix-default-profile,
        guix-current-profile, guix-profile-prompt, guix-set-current-profile): Move
        to...
      * emacs/guix-init.el.in (guix-default-profile): Move to...
      * emacs/guix-profiles.el.in: ... here.  New file.
      * configure.ac (AC_CONFIG_FILES): Add "emacs/guix-profiles.el".
      * emacs.am (nodist_lisp_DATA): Likewise.
      3db349cb
  24. Sep 03, 2014
    • Alex Kost's avatar
      Add Emacs user interface. · 457f60fa
      Alex Kost authored
      * configure.ac (emacsuidir): New variable.
        (AC_CONFIG_FILES): Add 'emacs/guix-init.el', 'emacs/guix-helper.scm'.
      * Makefile.am: Include 'emacs.am'.
      * emacs.am: New file.
      * doc/emacs.texi: New file.
      * doc/guix.texi: Include 'emacs.texi'.
      * emacs/guix-backend.el: New file.
      * emacs/guix-base.el: New file.
      * emacs/guix-helper.scm.in: New file.
      * emacs/guix-history.el: New file.
      * emacs/guix-info.el: New file.
      * emacs/guix-init.el.in: New file.
      * emacs/guix-list.el: New file.
      * emacs/guix-main.scm: New file.
      * emacs/guix-utils.el: New file.
      * emacs/guix.el: New file.
      457f60fa
  25. Jun 13, 2014
    • Ludovic Courtès's avatar
      Separate package description translations from string translations. · ee764179
      Ludovic Courtès authored
      * po/packages/LINGUAS, po/packages/Makevars, po/packages/POTFILES.in:
        New files.
      * po/guix/Makevars (DOMAIN): Change to "guix".
        (XGETTEXT_OPTIONS): Remove "--keyword=synopsis --keyword=description".
      * po/guix/POTFILES.in: Remove gnu/packages/*.scm.
      * configure.ac: Change to gettext 0.18.3.  Produce
        po/packages/Makefile.in.
      * Makefile.am (SUBDIRS): Add po/packages.
      * guix/ui.scm (%package-text-domain): New variable.
        (P_): New procedure.
        (package->recutils): Use 'P_' instead of '_'.
      * guix/scripts/package.scm (find-packages-by-description): Use 'P_'
        instead of 'gettext'.
      ee764179
    • Ludovic Courtès's avatar
      Move gettext files to 'po/guix'. · ef1a9bb7
      Ludovic Courtès authored
      * po: Rename to...
      * po/guix: ... this.
      * po/guix/Makevars (subdir, top_builddir): Adjust accordingly.
      * configure.ac: Change 'po/Makefile.in' to 'po/guix/Makefile.in'.
      * Makefile.am (SUBDIRS): Change 'po' to 'po/guix'.
      ef1a9bb7
  26. Feb 16, 2014
  27. Jan 23, 2014
    • Ludovic Courtès's avatar
      Add 'guix offload' as a daemon build hook. · 49e6291a
      Ludovic Courtès authored
      * nix/nix-daemon/guix-daemon.cc (GUIX_OPT_NO_BUILD_HOOK): New macro.
        (options): Add '--no-build-hook'.
        (parse_opt): Handle it.
        (main)[HAVE_DAEMON_OFFLOAD_HOOK]: Set 'useBuildHook' by default.
        Set $NIX_BUILD_HOOK to our offload hook unless otherwise specified.
        [!HAVE_DAEMON_OFFLOAD_HOOK]: Clear 'useBuildHook'.
      * pre-inst-env.in: Set and export NIX_BUILD_HOOK.
      * nix/scripts/offload.in, guix/scripts/offload.scm: New files.
      * guix/ui.scm (show-guix-help)[internal?]: Add "offload".
      * config-daemon.ac: Call 'GUIX_CHECK_UNBUFFERED_CBIP'.
        Instantiate 'nix/scripts/offload'.  Set 'BUILD_DAEMON_OFFLOAD'
        conditional, and optionally define 'HAVE_DEAMON_OFFLOAD_HOOK' cpp
        macro.
      * daemon.am (nodist_pkglibexec_SCRIPTS)[BUILD_DAEMON_OFFLOAD]: Add it.
      * Makefile.am (MODULES)[BUILD_DAEMON_OFFLOAD]: Add
        'guix/scripts/offload.scm'.
        (EXTRA_DIST)[!BUILD_DAEMON_OFFLOAD]: Likewise.
      * m4/guix.m4 (GUIX_CHECK_UNBUFFERED_CBIP): New macro.
      * doc/guix.texi (Setting Up the Daemon): Move most of the body to...
        (Build Environment Setup): ... this.  New subsection.
        (Daemon Offload Setup): New subsection.
      49e6291a
  28. Dec 20, 2013
    • Ludovic Courtès's avatar
      daemon: Implement signed archive import/export. · 526382ff
      Ludovic Courtès authored
      * guix/scripts/authenticate.scm, nix/scripts/guix-authenticate.in,
        tests/signing-key.pub, tests/signing-key.sec: New files.
      * po/POTFILES.in: Add 'guix/scripts/authenticate.scm'.
      * guix/store.scm (dump-port): New procedure.
        (process-stderr): Add 'user-port' optional parameter.  Handle
        the %STDERR-WRITE and %STDERR-READ cases as expected.
        (import-paths, export-path, export-paths): New procedures.
      * tests/store.scm ("export/import several paths", "import corrupt
        path"): New tests.
      * Makefile.am (MODULES): Add 'guix/scripts/authenticate.scm'.
        (EXTRA_DIST): Add 'tests/signing-key.{pub,sec}'.
      * daemon.am (libstore_a_CPPFLAGS)[-DNIX_CONF_DIR]: Change 'NIX_CONF_DIR'
        to .../guix.  Change 'OPENSSL_PATH' to 'guix-authenticate'.
      * config-daemon.ac: Instantiate 'nix/scripts/guix-authenticate'.
      * nix/nix-daemon/guix-daemon.cc (main): Augment $PATH to include
        'settings.nixLibexecDir'.
      * test-env.in: Export 'NIX_CONF_DIR' and 'NIX_LIBEXEC_DIR'.  Populate
        $NIX_CONF_DIR.
      526382ff
  29. Dec 04, 2013
  30. Nov 04, 2013
    • Mark H Weaver's avatar
      gnu: add bootstrap support for mips64el-linux using the MIPS N32 ABI. · f57ff219
      Mark H Weaver authored
      * .gitignore: Add entry for bootstrap/mips64el-linux/guile-2.0.9.tar.xz.
      
      * gnu-system.am (bootstrap_mips64el_linuxdir,
        dist_bootstrap_mips64el_linux_DATA, nodist_bootstrap_mips64el_linux_DATA):
        New variables.
        (DISTCLEANFILES): Add $(nodist_bootstrap_mips64el_linux_DATA).
        (gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz): New target.
      
      * build-aux/download.scm (file-name->uri): Adapt to the newer mips64el-linux
        bootstrap tarballs.
      
      * gnu/packages/bootstrap.scm (%bootstrap-guile, %bootstrap-coreutils&co,
        %bootstrap-binutils, %bootstrap-glibc, %bootstrap-gcc): Adapt to the newer
        mips64el-linux bootstrap tarballs.
      
      * gnu/packages/bootstrap/mips64el-linux/bash:
      * gnu/packages/bootstrap/mips64el-linux/mkdir:
      * gnu/packages/bootstrap/mips64el-linux/tar:
      * gnu/packages/bootstrap/mips64el-linux/xz: New files.
      f57ff219
  31. Sep 22, 2013
    • Ludovic Courtès's avatar
      Add 'guix-register'. · a7a4e6a4
      Ludovic Courtès authored
      * nix/guix-register/guix-register.cc, tests/guix-register.sh: New
        files.
      * Makefile.am (SH_TESTS)[BUILD_DAEMON]: Add tests/guix-register.sh.
      * daemon.am (sbin_PROGRAMS, guix_register_SOURCES,
        guix_register_CPPFLAGS, guix_register_LDADD): New variables.
      * test-env.in: Export 'storedir', 'prefix', 'datarootdir', 'datadir',
        and 'localstatedir'.
      a7a4e6a4
  32. Jul 06, 2013
    • Ludovic Courtès's avatar
      doc: Add a "Boostrapping" section. · 401c53c4
      Ludovic Courtès authored
      * doc/guix.texi (Package Modules): New node, with material formerly
        under "GNU Distribution".
        (Bootstrapping): New node.
      * Makefile.am (EXTRA_DIST): Add doc/images/bootstrap-graph.dot and
        doc/images/bootstrap-graph.eps.
        (infoimagedir, dist_infoimage_DATA, DOT_OPTIONS): New variable.
        (.dot.png, .dot.eps, doc/guix.pdf, doc/guix.info, doc/guix.ps): New
        targets.
      * doc/images/bootstrap-graph.dot: New file.
      401c53c4
  33. Jun 11, 2013
  34. Apr 12, 2013
    • Ludovic Courtès's avatar
      Add preliminary binary substituter. · 419fffa2
      Ludovic Courtès authored
      * guix/scripts/substitute-binary.scm: New file.
      * Makefile.am (MODULES): Add it.
      * nix/scripts/substitute-binary.in: New file.
      * config-daemon.ac: Produce nix/scripts/substitute-binary.
      * daemon.am (nodist_pkglibexec_SCRIPTS): Add
        nix/scripts/substitute-binary.
      * guix/store.scm (substitutable-path-info): Use the
        `query-substitutable-path-infos' RPC.
      * nix/nix-daemon/guix-daemon.cc (main): Honor `NIX_SUBSTITUTERS'.
      * pre-inst-env.in: Set `NIX_SUBSTITUTERS'.
      * test-env.in: Leave `NIX_SUBSTITUTERS' unchanged.  Set
        `GUIX_BINARY_SUBSTITUTE_URL, and create
        $NIX_STATE_DIR/substituter-data.
        Run `guix-daemon' within `./pre-inst-env'.
      * tests/store.scm ("substitute query"): New test.
      419fffa2
  35. Apr 03, 2013
    • Ludovic Courtès's avatar
      Add preliminary binary substituter. · f65cf81a
      Ludovic Courtès authored
      * guix/scripts/substitute-binary.scm: New file.
      * Makefile.am (MODULES): Add it.
      * nix/scripts/substitute-binary.in: New file.
      * config-daemon.ac: Produce nix/scripts/substitute-binary.
      * daemon.am (nodist_pkglibexec_SCRIPTS): Add
        nix/scripts/substitute-binary.
      * guix/store.scm (substitutable-path-info): Use the
        `query-substitutable-path-infos' RPC.
      * nix/nix-daemon/guix-daemon.cc (main): Honor `NIX_SUBSTITUTERS'.
      * pre-inst-env.in: Set `NIX_SUBSTITUTERS'.
      * test-env.in: Leave `NIX_SUBSTITUTERS' unchanged.  Set
        `GUIX_BINARY_SUBSTITUTE_URL, and create
        $NIX_STATE_DIR/substituter-data.
        Run `guix-daemon' within `./pre-inst-env'.
      * tests/store.scm ("substitute query"): New test.
      f65cf81a
  36. Feb 27, 2013
    • Mark H Weaver's avatar
      Replace individual scripts with master 'guix' script. · 868c923f
      Mark H Weaver authored
      * scripts/guix.in: New script.
      
      * Makefile.am (bin_SCRIPTS): Add 'scripts/guix'.  Remove 'guix-build',
        'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
      
        (MODULES): Add 'guix/scripts/build.scm', 'guix/scripts/download.scm',
        'guix/scripts/import.scm', 'guix/scripts/package.scm', and
        'guix/scripts/gc.scm'.
      
      * configure.ac (AC_CONFIG_FILES): Add 'scripts/guix'.  Remove 'guix-build',
        'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
      
      * guix-build.in, guix-download.in, guix-gc.in, guix-import.in,
        guix-package.in: Remove shell script boilerplate.  Move to guix-COMMAND.in
        to guix/scripts/COMMAND.scm.  Rename module from (guix-COMMAND) to
        (guix scripts COMMAND).  Change "guix-COMMAND" to "guix COMMAND" in
        usage help string.
      
      * pre-inst-env.in: Add "@abs_top_builddir@/scripts" to the front of $PATH.
        Export $GUIX_UNINSTALLED.
      
      * tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh,
        tests/guix-gc.sh, tests/guix-package.sh: Use "guix COMMAND" instead of
        "guix-COMMAND".
      
      * doc/guix.texi: Replace all occurrences of "guix-COMMAND" with
        "guix COMMAND".
      
      * po/POTFILES.in: Update.
      868c923f
  37. Feb 17, 2013
    • Mark H Weaver's avatar
      Replace individual scripts with master 'guix' script. · e49951eb
      Mark H Weaver authored
      * scripts/guix.in: New script.
      
      * Makefile.am (bin_SCRIPTS): Add 'scripts/guix'.  Remove 'guix-build',
        'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
      
        (MODULES): Add 'guix/scripts/build.scm', 'guix/scripts/download.scm',
        'guix/scripts/import.scm', 'guix/scripts/package.scm', and
        'guix/scripts/gc.scm'.
      
      * configure.ac (AC_CONFIG_FILES): Add 'scripts/guix'.  Remove 'guix-build',
        'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
      
      * guix-build.in, guix-download.in, guix-gc.in, guix-import.in,
        guix-package.in: Remove shell script boilerplate.  Move to guix-COMMAND.in
        to guix/scripts/COMMAND.scm.  Rename module from (guix-COMMAND) to
        (guix scripts COMMAND).  Change "guix-COMMAND" to "guix COMMAND" in
        usage help string.
      
      * pre-inst-env.in: Add "@abs_top_builddir@/scripts" to the front of $PATH.
        Export $GUIX_UNINSTALLED.
      
      * tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh,
        tests/guix-gc.sh, tests/guix-package.sh: Use "guix COMMAND" instead of
        "guix-COMMAND".
      
      * doc/guix.texi: Replace all occurrences of "guix-COMMAND" with
        "guix COMMAND".
      
      * po/POTFILES.in: Update.
      e49951eb
  38. Jan 20, 2013
  39. Jan 18, 2013
    • Ludovic Courtès's avatar
      distro: Change the module name space to (gnu ...). · 1ffa7090
      Ludovic Courtès authored
      * distro: Rename to...
      * gnu: ... this.  Update module names accordingly.
      * Makefile.am: Adjust accordingly.
      * po/POTFILES.in: Likewise.
      * distro.scm: Search for files under /gnu/packages instead of
        /distro/packages.
      * gnu/packages/base.scm (ld-wrapper-boot3): Likewise.
      1ffa7090
Loading