Skip to content
Snippets Groups Projects
  1. Nov 24, 2014
  2. Nov 23, 2014
  3. Nov 22, 2014
  4. Nov 21, 2014
  5. Nov 20, 2014
    • Ludovic Courtès's avatar
      guix system: Add '--share' and '--expose' options for 'vm'. · 0276f697
      Ludovic Courtès authored
      * guix/scripts/system.scm (system-derivation-for-action): Add #:mappings
        parameter.  Pass it to 'system-qemu-image/shared-store-script'.
        (perform-action): Likewise.
        (show-help): Document --share and --expose.
        (specification->file-system-mapping): New procedure.
        (%options): Add --share and --expose.
        (guix-system): Pass #:mapping to 'perform-action'.
      * doc/guix.texi (Invoking guix system): Document it.
      0276f697
    • Ludovic Courtès's avatar
      vm: Introduce 'file-system-mapping'. · fcf63cf8
      Ludovic Courtès authored
      * gnu/system/vm.scm (<file-system-mapping>): New record type.
        (%store-mapping): New variable.
        (host-9p-file-system): Rename to...
        (mapping->file-system): ... this.  Replace 'source' and 'target'
        parameters with 'mapping'.  Set 'flags' field.
        (virtualized-operating-system): Add 'mappings' parameter and  honor
        it.
        (system-qemu-image/shared-store-script): Add 'mappings' parameter.
        Pass it to 'virtualized-operating-system'.  Use it in argument to
        'common-qemu-options'.
      fcf63cf8
    • Ludovic Courtès's avatar
      vm: Formalize use of '-virtfs' options. · 96ffa27b
      Ludovic Courtès authored
      * gnu/system/vm.scm (file-system->mount-tag, host-9p-file-system): New
        procedures.
        (virtualized-operating-system): Use 'host-9p-file-system' for the
        store.
        (common-qemu-options): Add 'shared-fs' parameter.
        [virtfs-option]: New procedure.
        Use it.
        (system-qemu-image/shared-store-script): Adjust accordingly.
      96ffa27b
    • Ludovic Courtès's avatar
      linux-boot: Don't catch exceptions thrown by 'mount-root-file-system'. · 4dfbdcbc
      Ludovic Courtès authored
      * gnu/build/linux-boot.scm (mount-root-file-system): Remove 'catch #t'
        around body.  This was unneeded and even inconvenient because this
        procedure is called from within 'call-with-error-handling' already.
      4dfbdcbc
    • Ludovic Courtès's avatar
      emacs: Don't override the user's 'geiser-guile-load-path'. · a1ca1b7a
      Ludovic Courtès authored
      * emacs/guix-backend.el (guix-start-repl): Add GUIX-LOAD-PATH to the
        front of GEISER-GUILE-LOAD-PATH instead of overriding it.
      a1ca1b7a
    • Ludovic Courtès's avatar
      services: xorg: Include ~/.guix-profile/bin to the session's $PATH. · 1d18d87f
      Ludovic Courtès authored
      Fixes <http://bugs.gnu.org/19119>.
      Reported by David Thompson <dthompson2@worcester.edu>.
      
      * gnu/services/xorg.scm (xinitrc): Augment $PATH to include
        ~/.guix-profile/bin.
      1d18d87f
    • Ludovic Courtès's avatar
      file-systems: Always write the options field in /etc/mtab. · 1c27641f
      Ludovic Courtès authored
      * gnu/build/file-systems.scm (mount-file-system): When OPTIONS is false,
        write "rw" to /etc/mtab.  This fixes a bug whereby 'remove-from-mtab'
        in (guix syscalls) would otherwise raise a 'match-error' because of
        the missing field.  This affected file systems mounted from the
        initrd, such as devtmpfs, which has options == #f.
      1c27641f
Loading