Skip to content
Snippets Groups Projects
  1. Jul 11, 2014
    • Ludovic Courtès's avatar
      doc: Start writing about services. · ef5dd60a
      Ludovic Courtès authored
      * doc/guix.texi (Using the Configuration System): Remove details about
        '%base-services', and link to "Services".
        (Services): Add introductory text.
        (Base Services, Networking Services, X Window): New nodes.
      ef5dd60a
  2. Jul 08, 2014
    • Ludovic Courtès's avatar
      guix system: Add '--system' option. · df2ce343
      Ludovic Courtès authored
      * guix/scripts/system.scm (switch-to-system): Add #:system parameter;
        pass it to 'run-with-store'.
        (%options): Add '--system'.
        (guix-system): Pass the 'system' option to 'run-with-store',
        'package-derivation', and 'switch-to-system' calls.
      * doc/guix.texi (Invoking guix system): Document '--system' and
        '--image-size'.
      df2ce343
  3. Jul 03, 2014
  4. Jul 02, 2014
  5. Jun 27, 2014
  6. Jun 26, 2014
    • Ludovic Courtès's avatar
      guix system: Add 'reconfigure' action. · b25937e3
      Ludovic Courtès authored
      * guix/scripts/system.scm (%system-profile): New variable.
        (switch-to-system, previous-grub-entries): New procedures.
        (unless-file-not-found): New macro.
        (show-help): Add 'reconfigure'.
        (guix-system): Handle it.
      * gnu/system.scm: Export 'operating-system-activation-script'.
      * doc/guix.texi (Invoking guix system): Document it.
      b25937e3
  7. Jun 19, 2014
  8. Jun 14, 2014
    • Ludovic Courtès's avatar
      guix build: Allow gexps to be passed to '-e'. · 56b82106
      Ludovic Courtès authored
      * guix/ui.scm (%guix-user-module): New variable.
        (read/eval): Pass it as the second argument to 'eval'.
      * guix/scripts/build.scm (options/resolve-packages): Add case for
        'gexp?'.
      * tests/guix-build.sh: Add tests.
      * doc/guix.texi (Invoking guix build): Document '-e gexp'.
      guxi build: Allow gexps to be passed to '-e'.
      
      * guix/ui.scm (%guix-user-module): New variable.
        (read/eval): Pass it as the second argument to 'eval'.
      * guix/scripts/build.scm (options/resolve-packages): Add case for
        'gexp?'.
      * tests/guix-build.sh: Add tests.
      * doc/guix.texi (Invoking guix build): Document '-e gexp'.
      56b82106
  9. Jun 09, 2014
  10. Jun 06, 2014
  11. Jun 04, 2014
    • Ludovic Courtès's avatar
      system: Define '%base-packages' and use it. · 6f436c54
      Ludovic Courtès authored
      * gnu/system.scm (<operating-system>)[packages]: Change default value to
        %BASE-PACKAGES.
        (%base-packages): New variable.
      * gnu/system/install.scm (installation-os): Use it when defining the
        'packages' field.
      * doc/guix.texi (Using the Configuration System): Use %BASE-PACKAGES in
        example.  Remove now unneeded module imports.  Explain this.
      6f436c54
  12. Jun 01, 2014
    • Ludovic Courtès's avatar
      derivations: Add #:allowed-references 'derivation' parameter. · b53be755
      Ludovic Courtès authored
      * guix/derivations.scm (derivation): Add #:allowed-references
        parameter.
        [user+system-env-vars]: Honor it.
      * tests/derivations.scm ("derivation #:allowed-references, ok",
        "derivation #:allowed-references, not allowed",
        "derivation #:allowed-references, self allowed",
        "derivation #:allowed-references, self not allowed"): New tests.
      * doc/guix.texi (Derivations): Document #:allowed-references.
      b53be755
  13. May 30, 2014
    • Ludovic Courtès's avatar
      linux-initrd: Allow use of volume labels in 'file-system' declarations. · 85a83edb
      Ludovic Courtès authored
      * guix/build/linux-initrd.scm (%ext2-endianness, %ext2-sblock-magic,
        %ext2-sblock-creator-os, %ext2-sblock-uuid, %ext2-sblock-volume-name):
        New macros.
        (read-ext2-superblock, ext2-superblock-uuid,
        ext2-superblock-volume-name, disk-partitions,
        partition-label-predicate, find-partition-by-label,
        canonicalize-device-spec): New procedures.
        (mount-file-system): Use 'canonicalize-device-spec' on SOURCE.
        (boot-system): Likewise for ROOT.
      * doc/guix.texi (Using the Configuration System): Adjust 'file-system'
        declaration accordingly.
      85a83edb
  14. May 25, 2014
  15. May 24, 2014
  16. May 22, 2014
    • Ludovic Courtès's avatar
      guix system: Add 'disk-image' action. · fb729425
      Ludovic Courtès authored
      * guix/scripts/system.scm (show-help): Add 'disk-image'.
        (guix-system)[parse-options]: Support 'disk-image' action.
        [option-arguments]: Likewise.
        Handle the 'disk-image' action.
      * doc/guix.texi (Invoking guix system): Document 'disk-image'.
      fb729425
    • Ludovic Courtès's avatar
      Add (gnu) module. · c9384945
      Ludovic Courtès authored
      * gnu.scm: New file.
      * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
      * build-aux/hydra/demo-os.scm: Use (gnu) and strip import list
        accordingly.
      * doc/guix.texi (Using the Configuration System): Adjust example
        accordingly.
      c9384945
  17. May 19, 2014
  18. May 18, 2014
    • Ludovic Courtès's avatar
      guix system: Add 'init' sub-command. · 72b9d60d
      Ludovic Courtès authored
      * guix/scripts/system.scm (install): New procedure.
        (guix-system)[parse-option]: Remove check for extraneous arguments.
        [match-pair, option-arguments]: New procedures.
        Use 'option-arguments'.  Honor 'init'.
        (show-help): Document 'init'.
      * doc/guix.texi (Invoking guix system): Document 'init'.
      72b9d60d
  19. May 16, 2014
    • Ludovic Courtès's avatar
      guix system: Add 'build' action. · 7889394e
      Ludovic Courtès authored
      * guix/scripts/system.scm (show-help): Document 'build' action.
        (guix-system): Honor 'build' action.
      * doc/guix.texi (Invoking guix system): Add 'build' action.
      7889394e
  20. May 13, 2014
  21. May 12, 2014
  22. May 11, 2014
  23. May 08, 2014
  24. May 03, 2014
  25. May 02, 2014
    • 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
  26. Apr 28, 2014
    • 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
      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
      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
  27. Apr 09, 2014
  28. Apr 08, 2014
  29. Apr 05, 2014
    • Ludovic Courtès's avatar
      doc: Add "Build Systems" section. · 7458bd0a
      Ludovic Courtès authored
      * doc/guix.texi (Defining Packages): Add 'arguments' field in the
        example; update 'synopsis' and 'description'.  Remove most of the
        description of 'build-system', and instead reference to the "Build
        Systems" node.  Briefly describe 'arguments' field, and remove more
        elaborate description.  Add cross-reference to "Packaging Guidelines".
        (Build Systems): New node.
        (Packaging Guidelines): Mention '--log-file'.
      7458bd0a
  30. Apr 03, 2014
  31. Mar 31, 2014
  32. Mar 30, 2014
    • Ludovic Courtès's avatar
      doc: Document substitutes. · c4202d60
      Ludovic Courtès authored
      * doc/guix.texi (Invoking guix-daemon): Add cross-reference to
        "Substitutes".
        (Features): Remove footnote about unauthenticated substitutes.  Link
        to "Substitutes".
        (Substitutes): New node.
        (Invoking guix build): Link to "Substitutes".
        (Packaging Guidelines): Likewise.
      c4202d60
  33. Mar 13, 2014
  34. Mar 11, 2014
    • Ludovic Courtès's avatar
      guix build: Add '--with-source'. · 7f3673f2
      Ludovic Courtès authored
      * guix/scripts/build.scm (package-with-source): New procedure.
        (show-help): Add '--with-source'.
        (%options): Likewise.
        (options->derivations): Call 'options/with-source' and
        'options/resolve-packages'.
        (options/resolve-packages, options/with-source): New procedures.
      * doc/guix.texi (Invoking guix build): Document '--with-source'.
      7f3673f2
  35. Mar 10, 2014
  36. Mar 09, 2014
    • Ludovic Courtès's avatar
      guix build: Add '--timeout' to the common build options. · 002622b6
      Ludovic Courtès authored
      * guix/scripts/build.scm (show-build-options-help): Document
        '--timeout'.
        (set-build-options-from-command-line): Pass #:timeout to
        'set-build-options'.
        (%standard-build-options): Add '--timeout'.
      * doc/guix.texi (Invoking guix build): Document it.
      002622b6
Loading