Skip to content
Snippets Groups Projects
  1. Apr 12, 2019
  2. Apr 11, 2019
  3. 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
  4. Apr 07, 2019
  5. Apr 05, 2019
  6. 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
  7. 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
  8. 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
  9. Mar 29, 2019
  10. 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
  11. 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
  12. 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
  13. 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
  14. Mar 23, 2019
  15. 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
  16. 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
    • nikita's avatar
      Correct name and email address for ng0. · 47956fa0
      nikita authored
      
      * .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi,
      doc/guix.texi, etc/completion/fish/guix.fish,
      gnu/packages/accessibility.scm, gnu/packages/admin.scm,
      gnu/packages/audio.scm, gnu/packages/autotools.scm,
      gnu/packages/cdrom.scm, gnu/packages/check.scm,
      gnu/packages/cinnamon.scm, gnu/packages/compression.scm,
      gnu/packages/crypto.scm, gnu/packages/databases.scm,
      gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm,
      gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
      gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
      gnu/packages/fonts.scm, gnu/packages/fontutils.scm,
      gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm,
      gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
      gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm,
      gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm,
      gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm,
      gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
      gnu/packages/image.scm, gnu/packages/irc.scm,
      gnu/packages/language.scm, gnu/packages/libcanberra.scm,
      gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
      gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
      gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
      gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
      gnu/packages/ncurses.scm, gnu/packages/networking.scm,
      gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
      gnu/packages/perl-check.scm, gnu/packages/perl.scm,
      gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
      gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
      gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
      gnu/packages/rust.scm, gnu/packages/scheme.scm,
      gnu/packages/serialization.scm, gnu/packages/shells.scm,
      gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
      gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
      gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
      gnu/packages/tor.scm, gnu/packages/version-control.scm,
      gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
      gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
      gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
      gnu/services/desktop.scm, gnu/services/version-control.scm,
      gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm:
      Correct name and email address for ng0.
      
      Signed-off-by: default avatarTobias Geerinckx-Rice <me@tobias.gr>
      47956fa0
    • Ludovic Courtès's avatar
      doc: Expound on inputattach service. · 62b86d66
      Ludovic Courtès authored
      * doc/guix.texi (Miscellaneous Services): Expound documentation of
      inputattach service.
      62b86d66
    • Tim Gesthuizen's avatar
      gnu: Add inputattach service. · 97ab799a
      Tim Gesthuizen authored
      
      Add a service that runs inputattach as a daemon to translate events from
      serial ports.
      
      * gnu/services/desktop.scm (<inputattach-configuration>): New record type.
      * gnu/services/desktop.scm (inputattach-service-type): New service type.
      * doc/guix.texi (Miscellaneous Services): Add inputattach Service
        subsubheading.
      
      Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
      97ab799a
  17. Mar 17, 2019
    • Ludovic Courtès's avatar
      guix build: Transformation options match packages by spec. · 14328b81
      Ludovic Courtès authored
      This allows us to combine several transformations on a given package, in
      particular '--with-git-url' and '--with-branch'.
      
      Previously transformations would ignore each other since they would all
      take (specification->package SOURCE) as their replacement source,
      compare it by identity, which doesn't work if a previous transformation
      has already changed SOURCE.
      
      * guix/scripts/build.scm (evaluate-replacement-specs): Adjust to produce
      an alist as expected by 'package-input-rewriting/spec', with a package
      spec as the first element of each pair.
      (evaluate-git-replacement-specs): Likewise.
      (transform-package-inputs):  Adjust accordingly and use
      'package-input-rewriting/spec'.
      (transform-package-inputs/graft): Likewise.
      (transform-package-source-branch, transform-package-source-commit): Use
      'package-input-rewriting/spec'.
      (transform-package-source-git-url): Likewise, and adjust the
      REPLACEMENTS alist accordingly.
      (options->transformation): Iterate over OPTS instead of over
      %TRANSFORMATIONS.  Invoke transformations one by one.
      * tests/scripts-build.scm ("options->transformation, with-input"):
      Adjust test to compare packages by name rather than by identity.
      ("options->transformation, with-git-url + with-branch"): New test.
      14328b81
    • Ludovic Courtès's avatar
      packages: Add 'package-input-rewriting/spec'. · f258d886
      Ludovic Courtès authored
      * guix/packages.scm (package-input-rewriting/spec): New procedure.
      * tests/packages.scm ("package-input-rewriting/spec")
      ("package-input-rewriting/spec, partial match"): New tests.
      * doc/guix.texi (Defining Packages): Document it.
      f258d886
    • Ludovic Courtès's avatar
      guix build: Add '--with-git-url'. · 880916ac
      Ludovic Courtès authored
      * guix/scripts/build.scm (%not-equal): New variable.
      (evaluate-git-replacement-specs): Use it instead of local variable
      'not-equal'.
      (transform-package-source-git-url): New procedure.
      (%transformations): Add 'with-git-url'.
      (%transformation-options, show-transformation-options-help): Add
      '--with-git-url'.
      * tests/scripts-build.scm ("options->transformation, with-git-url"):
      New test.
      880916ac
  18. Mar 15, 2019
    • nixo's avatar
      services: mpd: add more configuration options · c71b7b5b
      nixo authored
      
      * gnu/services/audio.scm (<mpd-configuration>): Add 'db-file', 'state-file'
        and 'sticker-file' fields.
      * doc/guix.texi (Music Player Daemon): Document it.
      
      Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
      c71b7b5b
    • Ludovic Courtès's avatar
      pack: "-RR" produces PRoot-enabled relocatable binaries. · 99aec37a
      Ludovic Courtès authored
      * gnu/packages/aux-files/run-in-namespace.c (exec_with_proot): New
      function.
      (main): When 'clone' fails, call 'rm_rf'.
      [PROOT_PROGRAM]: When 'clone' fails, call 'exec_with_proot'.
      * guix/scripts/pack.scm (wrapped-package): Add #:proot?.
      [proot]: New procedure.
      [build]: Compile with -DPROOT_PROGRAM when PROOT? is true.
      * guix/scripts/pack.scm (%options): Set the 'relocatable?' value to
      'proot when "-R" is passed several times.
      (guix-pack): Pass #:proot? to 'wrapped-package'.
      * tests/guix-pack-relocatable.sh: Use "-RR" on Intel systems that lack
      user namespace support.
      * doc/guix.texi (Invoking guix pack): Document -RR.
      99aec37a
Loading