Skip to content
Snippets Groups Projects
  1. Apr 19, 2019
    • Ludovic Courtès's avatar
      guix build: Accept multiple '-s' options. · ea261dea
      Ludovic Courtès authored
      * guix/scripts/build.scm (%default-options): Remove 'system'.
      (%options) <--system>: Keep previous occurrences of 'system in RESULT.
      (options->derivations)[system]: Remove.
      [systems, things-to-build]: New variables.
      [compute-derivation]: New procedure.
      Iterate on all of SYSTEMS to compute the derivations of THINGS-TO-BUILD.
      * tests/guix-build.sh: Add test for one and multiple '-s' flags.
      * doc/guix.texi (Additional Build Options): Document this behavior.
      ea261dea
  2. Apr 17, 2019
  3. Apr 15, 2019
  4. Apr 14, 2019
  5. Apr 12, 2019
  6. Apr 11, 2019
  7. Apr 10, 2019
    • Ludovic Courtès's avatar
      guix gc: Add '--delete-generations'. · 96b8c2e6
      Ludovic Courtès authored
      * guix/scripts/gc.scm (show-help, %options): Add
      '--delete-generations'.  Change '--delete' shorthand to '-D'.
      (delete-old-generations): New procedure.
      (guix-gc)[delete-generations]: New procedure.
      Call it when ACTION is 'collect-garbage' and OPTS contains
      'delete-generations.
      * doc/guix.texi (Invoking guix gc): Document it.
      96b8c2e6
    • Ludovic Courtès's avatar
      guix gc: Add '--list-roots'. · bacf980c
      Ludovic Courtès authored
      * guix/scripts/gc.scm (show-help, %options): Add '--list-roots'.
      (guix-gc)[list-roots]: New procedure.
      Handle '--list-roots'.
      * tests/guix-gc.sh: Test it.
      * doc/guix.texi (Invoking guix gc): Document it.
      bacf980c
  8. Apr 07, 2019
  9. Apr 05, 2019
  10. Apr 02, 2019
    • Ludovic Courtès's avatar
      environment: '-C' creates namespaces where the user is not root. · 1ccc0f80
      Ludovic Courtès authored
      * guix/scripts/environment.scm (launch-environment/container): Add UID
      and GID.  Use them in PASSWD and GROUPS.  Pass them as #:guest-uid and
       #:guest-gid to 'call-with-container'.
      * tests/guix-environment-container.sh: Test the inner UID.
      In '--user' test, replace hard-coded 0 with 1000.
      * doc/guix.texi (Invoking guix environment): Adjust accordingly.
      1ccc0f80
  11. Mar 31, 2019
    • Ludovic Courtès's avatar
      doc: Document 'gdm-service-type'. · 631a6e63
      Ludovic Courtès authored
      * doc/guix.texi (X Window): Document 'gdm-service-type' and
      'gdm-configuration'.  Take description of '.desktop' files from the
      'slim-service-type' description.
      * gnu/services/xorg.scm (gdm-service): Remove outdated comment.
      631a6e63
  12. Mar 30, 2019
    • Ludovic Courtès's avatar
      packages: Remove 'self-native-input?' field. · a7646bc5
      Ludovic Courtès authored
      This field has become unnecessary with the addition of 'this-package'.
      
      * guix/packages.scm (<package>)[self-native-input?]: Remove.
      (package->bag): Adjust accordingly.
      * doc/guix.texi (package Reference): Remove 'self-native-input?'.
      a7646bc5
  13. Mar 29, 2019
  14. Mar 28, 2019
    • Ludovic Courtès's avatar
      services: desktop: Switch to GDM. · 357b287b
      Ludovic Courtès authored
      * gnu/services/desktop.scm (%desktop-services): Replace
      SLIM-SERVICE-TYPE instance with an instance of GDM-SERVICE-TYPE.
      * doc/guix.texi (Keyboard Layout): Change example to mention
      GDM-SERVICE-TYPE.
      (X Window): Mention GDM.
      (Desktop Services): Adjust references to SLiM.
      357b287b
  15. Mar 27, 2019
    • Ludovic Courtès's avatar
      services: Deprecate 'xfce-desktop-service'. · 391e0d65
      Ludovic Courtès authored
      * gnu/services/desktop.scm (xfce-desktop-service-type)[default-value]
      [description]: New fields.
      (xfce-desktop-service): Deprecate.
      * gnu/system/examples/desktop.tmpl: Use the (service …) form.
      * gnu/installer/services.scm (%desktop-environments): Add TODO comment.
      * doc/guix.texi (Desktop Services): Adjust accordingly, and fix spelling
      of "Xfce" throughout.
      391e0d65
    • Ludovic Courtès's avatar
      services: Deprecate 'gnome-desktop-service'. · ee05cc7f
      Ludovic Courtès authored
      * gnu/services/desktop.scm (gnome-desktop-service-type)[default-value]:
      New field.
      (gnome-desktop-service): Deprecate.
      * gnu/installer/services.scm (%desktop-environments): Use the (service …)
      form for GNOME.
      * gnu/system/examples/desktop.tmpl: Likewise.
      * doc/guix.texi (Desktop Services): Adjust accordingly.
      ee05cc7f
  16. Mar 25, 2019
    • Ludovic Courtès's avatar
      system: Add 'essential-services' field to <operating-system>. · 69cae3d3
      Ludovic Courtès authored
      * gnu/system.scm (<operating-system>)[essential-services]: New field.
      (operating-system-directory-base-entries): Remove #:container? keyword
      and keep only the not-container branch.
      (essential-services): Likewise.
      (operating-system-services): Likewise, and call
      'operating-system-essential-services' instead of 'essential-services'.
      (operating-system-activation-script): Remove #:container?.
      (operating-system-boot-script): Likewise.
      (operating-system-derivation): Likewise.
      * gnu/system/linux-container.scm (container-essential-services): New procedure.
      (containerized-operating-system): Use it and set the
      'essential-services' field.
      (container-script): Remove call to 'operating-system-derivation'.
      * gnu/system/vm.scm (system-docker-image): Likewise.
      * doc/guix.texi (operating-system Reference): Document 'essential-services'.
      69cae3d3
    • Ludovic Courtès's avatar
      accounts: Add default value for the 'home-directory' field of <user-account>. · cf848cc0
      Ludovic Courtès authored
      * gnu/system/accounts.scm (<user-account>)[home-directory]: Mark as
      thunked and add a default value.
      (default-home-directory): New procedure.
      * doc/guix.texi (User Accounts): Remove 'home-directory' from example.
      * gnu/system/examples/bare-bones.tmpl: Likewise.
      * gnu/system/examples/beaglebone-black.tmpl: Likewise.
      * gnu/system/examples/desktop.tmpl: Likewise.
      * gnu/system/examples/docker-image.tmpl: Likewise.
      * gnu/system/examples/lightweight-desktop.tmpl: Likewise.
      * gnu/system/install.scm (installation-os): Likewise.
      * gnu/tests.scm (%simple-os): Likewise.
      * gnu/tests/install.scm (%minimal-os, %minimal-os-on-vda):
      (%separate-home-os, %encrypted-root-os, %btrfs-root-os): Likewise.
      * tests/accounts.scm ("allocate-passwd")
      ("allocate-passwd with previous state"): Likewise.
      cf848cc0
  17. Mar 24, 2019
    • Ludovic Courtès's avatar
      doc: Document keyboard layout. · 2bbb4ead
      Ludovic Courtès authored
      * doc/guix.texi (Keyboard Layout): New node.
      (Bootloader Configuration): Remove examples and refer to it.
      (X Window): Add cross-reference.
      2bbb4ead
    • Ludovic Courtès's avatar
      system: Initialize console keyboard layout in the initrd. · ae7a316b
      Ludovic Courtès authored
      Partially fixes <https://bugs.gnu.org/25453>.
      
      * gnu/system.scm (<operating-system>)[keyboard-layout]: New field.
      (operating-system-initrd-file): Pass #:keyboard-layout to MAKE-INITRD.
      * gnu/system/linux-initrd.scm (raw-initrd): Add #:keyboard-layout.
      Pass #:keymap-file to 'boot-system'.
      (base-initrd): Add #:keyboard-layout.
      [helper-packages]: Add LOADKEYS-STATIC when KEYBOARD-LAYOUT is true.
      Pass #:keyboard-layout to 'raw-initrd'.
      * gnu/build/linux-boot.scm (boot-system): Add #:keymap-file and honor
      it.
      * doc/guix.texi (operating-system Reference): Document the
      'keyboard-layout' field.
      (Initial RAM Disk): Update 'raw-initrd' and 'base-initrd' documentation.
      ae7a316b
    • Ludovic Courtès's avatar
      services: xorg: Add a 'keyboard-layout' field in <xorg-configuration>. · 598757e0
      Ludovic Courtès authored
      
      * gnu/services/xorg.scm (<xorg-configuration>)[keyboard-layout]: New
      field.
      (xorg-configuration->file)[input-class-section]: New procedure.
      Use it.
      * doc/guix.texi (X Window): Document 'keyboard-layout' field.
      
      Co-authored-by: default avatarnee <nee-git@hidamari.blue>
      598757e0
    • Ludovic Courtès's avatar
      services: sddm, slim, gdm: Take an <xorg-configuration> record. · 554b8607
      Ludovic Courtès authored
      * gnu/services/sddm.scm (<sddm-configuration>)[xorg-server-path]
      [xserver-arguments]: Remove.
      [xorg-configuration]: New field.
      (sddm-configuration-file): Adjust accordingly.
      * gnu/services/xorg.scm (<slim-configuration>)[startx]: Remove.
      [xorg-configuration]: New field.
      (slim-shepherd-service, slim-service): Adjust accordingly.
      (<gdm-configuration>)[x-server]: Remove.
      [xorg-configuration]: New field.
      (gdm-shepherd-service, gdm-service): Adjust accordingly.
      * doc/guix.texi (X Window): Update accordingly.
      554b8607
    • Ludovic Courtès's avatar
      services: xorg: Define an <xorg-configuration> record type. · b2e56451
      Ludovic Courtès authored
      * gnu/services/xorg.scm (<xorg-configuration>): New record type.
      (xorg-configuration-file): Remove.
      (xorg-wrapper): Remove #:modules, #:configuration-file, and
       #:xorg-server; add optional 'config' parameter instead.  Adjust
      accordingly.
      (xorg-start-command): Likewise.
      * doc/guix.texi (X Window): Document 'xorg-configuration'.  Update
      'xorg-start-command' documentation.  Remove 'xorg-configuration-file'
      documentation.
      b2e56451
    • Ludovic Courtès's avatar
      services: xorg: Remove unused #:guile parameter. · 956607e3
      Ludovic Courtès authored
      * gnu/services/xorg.scm (xorg-wrapper): Remove #:guile, which was unused.
      (xorg-start-command): Likewise.
      (xinitrc): Likewise.
      956607e3
    • Ludovic Courtès's avatar
      bootloader: Add a 'keyboard-layout' field. · 8d058e7b
      Ludovic Courtès authored
      
      * gnu/bootloader/grub.scm (keyboard-layout-file): New procedure.
      (grub-configuration-file)[keyboard-layout-file]: New variable.
      [builder]: Use it.
      * gnu/bootloader.scm (<bootloader-configuration>)[keyboard-layout]: New
      field.
      * doc/guix.texi (Bootloader Configuration): Document it.
      
      Co-authored-by: default avatarnee <nee-git@hidamari.blue>
      8d058e7b
    • Efraim Flashner's avatar
      doc: Remove instances of powerpc-linux being a supported Guix architecture. · b28e4e3c
      Efraim Flashner authored
      * doc/contributing.texi (Submitting Patches): Remove powerpc-linux
      examples.
      * doc/guix.texi (Virtualization Services): Replace powerpc-linux example
      with mips64el-linux.
      b28e4e3c
  18. Mar 23, 2019
  19. Mar 20, 2019
    • Ricardo Wurmus's avatar
      services: Add nslcd-service-type. · c16423f1
      Ricardo Wurmus authored
      * gnu/services/authentication.scm (nslcd-service-type, nslcd-configuration,
      %nslcd-accounts): New variables.
      (uglify-field-name, value->string, serialize-field, serialize-list,
      ssl-option?, tls-reqcert-option?, deref-option?,
      comma-separated-list-of-strings?, serialize-ignore-users-option, log-option?,
      serialize-log-option, valid-map?, scope-option?, serialize-scope-option,
      map-entry?, list-of-map-entries?, filter-entry?, list-of-filter-entries?,
      serialize-filter-entry, serialize-list-of-filter-entries, serialize-map-entry,
      serialize-list-of-map-entries, nslcd-config-file, nslcd-etc-service,
      nslcd-shepherd-service, pam-ldap-pam-services, pam-ldap-pam-service,
      generate-nslcd-documentation): New procedures.
      * gnu/tests/ldap.scm: New file.
      * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
      * doc/guix.texi (LDAP Services): Document it.
      c16423f1
  20. Mar 18, 2019
    • Arun Isaac's avatar
      import: Add Launchpad updater. · ae031d45
      Arun Isaac authored
      * guix/import/launchpad.scm: New file.
      * Makefile.am (MODULES): Register it.
      * doc/guix.texi (Invoking guix refresh): Mention the Launchpad updater.
      ae031d45
Loading