Skip to content
Snippets Groups Projects
  1. May 02, 2014
    • Ludovic Courtès's avatar
      gnu: Add diffstat. · 83a39ed7
      Ludovic Courtès authored
      * gnu/packages/version-control.scm (diffstat): New variable.
      83a39ed7
    • Ludovic Courtès's avatar
      ftp-client: Add missing CR in "USER" command. · 3c986b75
      Ludovic Courtès authored
      * guix/ftp-client.scm (%ftp-login): Add #\return before #\newline.
        Fixes access to some FTP servers, such as
        ftp://invisible-island.net ("ProFTPD 1.3.4a Server").
      3c986b75
    • Ludovic Courtès's avatar
      system: Add first-class file system declarations. · 83bcd0b8
      Ludovic Courtès authored
      * gnu/system.scm (<operating-system>)[initrd]: Default to
        'qemu-initrd'.
        (<file-system>): New record type.
        (operating-system-root-file-system): New procedure.
        (operating-system-derivation): Take the device name for GRUB from
        'operating-system-root-file-system'.  Pass the
        'operating-system-initrd' procedure the list of boot file systems.
      * gnu/system/linux-initrd.scm (file-system->spec): New procedure.
        (qemu-initrd): Add 'file-systems' parameter, and remove #:mounts
        parameter.
        [file-system-type-predicate]: New procedure.
        [linux-modules]: Use it.
        Adjust #:mounts argument in 'boot-system' call.
        (gnu-system-initrd): Remove.
      * gnu/system/vm.scm (%linux-vm-file-systems): New variable.
        (expression->derivation-in-linux-vm): Adjust call to 'qemu-initrd'.
        (virtualized-operating-system): New procedure.
        (system-qemu-image/shared-store-script)[initrd]: Remove.  Use
        'virtualized-operating-system'.  Get the 'initrd' file from OS-DRV.
      * guix/build/linux-initrd.scm (mount-qemu-smb-share, mount-qemu-9p):
        Remove.
        (MS_RDONLY, MS_BIND): New global variables.
        (bind-mount): Remove local 'MS_BIND' definition.
        (mount-root-file-system): New procedure, with code formerly in
        'boot-system'.
        (mount-file-system): New procedure.
        (boot-system): Add #:root-fs-type parameter.  Remove 'MS_RDONLY' local
        variable.  Use 'mount-root-file-system' and 'mount-file-system'.
      * doc/guix.texi (Using the Configuration System): Add 'file-system'
        declaration.
      83bcd0b8
    • Eric Bavier's avatar
      gnu: Add missing copyright line · f5d5a346
      Eric Bavier authored
      * gnu/packages/maths.scm: Add copyright line missing from 3de01d3f.
      f5d5a346
    • Eric Bavier's avatar
      gnu: petsc: Add input superlu. · f258212d
      Eric Bavier authored
      * gnu/packages/maths.scm (petsc): Configure with superlu support.
      f258212d
    • Eric Bavier's avatar
      gnu: Add superlu · 183e44ae
      Eric Bavier authored
      * gnu/packages/maths.scm (superlu): New variable
      183e44ae
  2. May 01, 2014
  3. Apr 30, 2014
    • Ludovic Courtès's avatar
      gexp: Add pretty printer. · 7560b00b
      Ludovic Courtès authored
      * guix/gexp.scm (write-gexp): New procedure.
        <top level>: Add call to 'set-record-type-printer!'.
      7560b00b
    • Ludovic Courtès's avatar
      gnu: Add sudo. · e1485c7b
      Ludovic Courtès authored
      * gnu/packages/admin.scm (sudo): New variable.
      e1485c7b
    • Ludovic Courtès's avatar
      system: Add support for setuid binaries. · 09e028f4
      Ludovic Courtès authored
      * gnu/system.scm (<operating-system>)[pam-services, setuid-programs]:
        New fields.
        (etc-directory)[bashrc]: Prepend /run/setuid-programs to $PATH.
        (operating-system-etc-directory): Honor
        'operating-system-pam-services'.
        (%setuid-programs): New variable.
        (operating-system-boot-script): Add (guix build utils) to the set of
        imported modules.  Call 'activate-setuid-programs' in boot script.
      * gnu/system/linux.scm (base-pam-services): New procedure.
      * guix/build/activation.scm (%setuid-directory): New variable.
        (activate-setuid-programs): New procedure.
      * build-aux/hydra/demo-os.scm: Add 'pam-services' field.
      09e028f4
    • Ludovic Courtès's avatar
      linux-initrd: Allow setuid binaries from the unionfs to run. · d8a7a5bf
      Ludovic Courtès authored
      * guix/build/linux-initrd.scm (boot-system): Pass the 'suid' option to
        UNIONFS.
      d8a7a5bf
    • Ludovic Courtès's avatar
      system: Add (guix build activation). · 4dfe6c58
      Ludovic Courtès authored
      * gnu/services/dmd.scm (dmd-configuration-file): Remove 'etc'
        parameter.  Move /etc activation code to...
      * guix/build/activation.scm: ... here; new file.
      * gnu/system.scm (operating-system-boot-script): Augment script: add
        (guix build activation) to the load path; call 'activate-etc'.
      * Makefile.am (MODULES): Add guix/build/activation.scm.
      4dfe6c58
    • Eric Bavier's avatar
      gnu: calcurse: Fix module definition. · 864068e2
      Eric Bavier authored
      * gnu/packages/calcurse.scm: Define calcurse module correctly.
      864068e2
    • Eric Bavier's avatar
      gnu: gmsh: Fix typos · edf684ef
      Eric Bavier authored
      * gnu/packages/maths.scm (gmsh): Fix typo and space aftern
        end-of-sentence.
      edf684ef
    • Eric Bavier's avatar
      gnu: Add gmsh · 3de01d3f
      Eric Bavier authored
      * gnu/packages/maths.scm (gmsh): New variable
      3de01d3f
  4. Apr 29, 2014
  5. Apr 28, 2014
    • Ludovic Courtès's avatar
      gnu: screen: Upgrade to 4.2.1. · 6d7b4206
      Ludovic Courtès authored
      * gnu/packages/screen.scm (screen): Upgrade to 4.2.1.
      6d7b4206
    • Ludovic Courtès's avatar
      gnu: mcron: Upgrade to 1.0.7. · b6c18d6a
      Ludovic Courtès authored
      * gnu/packages/guile.scm (mcron): Upgrade to 1.0.7.
        Use GUILE-2.0 instead of GUILE-1.8; add 'native-inputs' field.
      b6c18d6a
    • Ludovic Courtès's avatar
      monads: Hide 'derivation-expression' and 'lower-inputs'. · ada3df03
      Ludovic Courtès authored
      * guix/monads.scm: Unexport 'lower-inputs' and 'derivation-expression'.
        (text-file*): Add comment about the switch to 'gexp->derivation'.
        (lower-inputs): Add comment about its doom.
        (derivation-expression): Likewise.
      * guix/gexp.scm (lower-inputs*): Rename to...
        (lower-inputs): ... this.  Update callers.
      * tests/monads.scm (derivation-expression): New procedure.
      * doc/guix.texi (The Store Monad): Use 'gexp->derivation' instead of
        'derivation-expression'.  Remove documentation of
        'derivation-expression'.
      * guix/ui.scm (read/eval): Use THE-ROOT-MODULE so that macros are
        properly expanded.
      * tests/guix-build.sh: Use 'gexp->derivation' instead of
        'derivation-expression'.monads: Hide 'derivation-expression' and 'lower-inputs'.
      ada3df03
    • Ludovic Courtès's avatar
      linux-initrd: Rewrite using gexps. · 0c21d92b
      Ludovic Courtès authored
      * gnu/system/linux-initrd.scm (expression->initrd): Rename 'inputs'
        parameter to 'to-copy'.  Remove 'files-to-copy'.  Rewrite 'builder' as
        a gexp, and use 'gexp->derivation'.
        (qemu-initrd): Adjust accordingly.
      0c21d92b
    • Ludovic Courtès's avatar
      system: Rewrite 'union' using gexps. · 8c35bfb6
      Ludovic Courtès authored
      * gnu/system.scm (union): Rewrite using 'gexp->derivation'.
      8c35bfb6
    • Ludovic Courtès's avatar
      services: xorg: Rewrite using gexps. · 8779d342
      Ludovic Courtès authored
      * gnu/services/xorg.scm (xorg-start-command): Rewrite in terms of
        'gexp->script'.
        (xinitrc): Likewise.
      8779d342
    • Ludovic Courtès's avatar
      system: grub: Rewrite using gexps. · f6a7b21d
      Ludovic Courtès authored
      * gnu/system/grub.scm (grub-configuration-file): Rewrite using
        'gexp->derivation'.
      * gnu/system.scm (operating-system-derivation): Adjust accordingly.
      f6a7b21d
    • Ludovic Courtès's avatar
      system: Change 'file-union' to use gexps. · 23f6056b
      Ludovic Courtès authored
      * gnu/system.scm (file-union): Make 'name' the first parameter; remove
        'inputs' parameter.  Rewrite using 'gexp->derivation'.
        (etc-directory): Adjust accordingly.
        (operating-system-derivation): Ditto.
      23f6056b
    • Ludovic Courtès's avatar
      services: Rewrite using gexps. · b5f4e686
      Ludovic Courtès authored
      * gnu/services.scm (<service>)[inputs]: Remove.
      * gnu/system.scm (links): Remove.
        (etc-directory): Add PASSWD and SHADOW to #:inputs.
        (operating-system-boot-script): Pass ETC to 'dmd-configuration-file'.
        (operating-system-derivation): Remove EXTRAS from the union.
      * gnu/system/linux.scm (pam-service->configuration): Rewrite in terms of
        'gexp->derivation'.  Compute the contents on the build side.  Expect
        'arguments' to contain a list of gexps.
        (pam-services->directory): Rewrite in terms of 'gexp->derivation'.
        (unix-pam-service): Change 'arguments' to a list of one gexp.
      * gnu/system/shadow.scm (<user-account>)[inputs]: Remove.
        [shell]: Change default value to a gexp.
        (passwd-file): Rewrite in terms of 'gexp->derivation'.  Compute
        contents on the build side.
      * gnu/services/base.scm (host-name-service, mingetty-service,
        nscd-service, syslog-service, guix-service): Change 'start' and 'stop'
        to gexps; remove 'inputs' field.
        (guix-build-accounts): Change 'shell' field to a gexp.
      * gnu/services/networking.scm (static-networking-service): Change
        'start' and 'stop' to gexps; remove 'inputs' field.
      * gnu/services/xorg.scm (slim-service): Likewise.
      * gnu/services/dmd.scm (dmd-configuration-file): Expect ETC to be a
        derivation.  Change 'config' to a gexp.  Use 'gexp->file' instead of
        'text-file'.
      * doc/guix.texi (Defining Services): Update nscd example with gexps, and
        without 'inputs'.  Add xref to "G-Expressions".
      b5f4e686
    • Ludovic Courtès's avatar
      vm: Rewrite support procedures to use gexps. · 1aa0033b
      Ludovic Courtès authored
      * gnu/system/vm.scm (%imported-modules): Remove.
        (expression->derivation-in-linux-vm): Remove 'inputs' parameter.
        Rename 'imported-modules' to 'modules'.  Rewrite using gexps and
        'gexp->derivation'.
        (qemu-image): Add 'qemu' parameter.  Pass NAME to
        'expression->derivation-in-linux-vm'.  Rewrite using gexps.  Remove
        #:inputs argument to 'expression->derivation-in-linux-vm'.
        (operating-system-default-contents): Rewrite using gexps.
      * gnu/system.scm (operating-system-profile-derivation): Rename to...
        (operating-system-profile): ... this.  Adjust callers.
        (operating-system-profile-directory): Remove.
      1aa0033b
    • Ludovic Courtès's avatar
      store: (direct-store-path? (%store-prefix)) returns #f. · eee21271
      Ludovic Courtès authored
      * guix/store.scm (direct-store-path?): Return #f if PATH
        is (%store-prefix).
      * tests/store.scm ("direct-store-path?"): Add test.
      eee21271
    • Ludovic Courtès's avatar
      gnu: Use gexps in obvious places in (gnu system ...). · 02100028
      Ludovic Courtès authored
      * gnu/system.scm (operating-system-boot-script): Use 'gexp->file'
        instead of 'text-file*'.
      * gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
        (system-qemu-image/shared-store-script)[builder]: Turn into a gexp.
        Use 'gexp->derivation' instead of 'derivation-expression'.
      02100028
    • Ludovic Courtès's avatar
      Add (guix gexp). · 21b679f6
      Ludovic Courtès authored
      * guix/gexp.scm: New file.
      * tests/gexp.scm: New file.
      * Makefile.am (MODULES): Add guix/gexp.scm.
        (SCM_TESTS): Add tests/gexp.scm.
      * doc/guix.texi (Derivations): Add #:inputs in 'derivation' example.
        Mark 'build-expression->derivation' as deprecated, refer to
        "G-Expressions".  Remove paragraph about code strata.
        (G-Expressions): New node.
      21b679f6
Loading