services: guix-data-service: Support specifying configuration.
The database contains some tables that are effectively used for configuration.
This commit starts to expose these to the guix service, enabling the
configuration to be handled by the service.
* gnu/services/guix.scm (<guix-data-service-configuration>): Add
git-repositories and build-servers.
(guix-data-service-configuration-git-repositories,
guix-data-service-configuration-build-servers): New procedures.
(guix-data-service-shepherd-services): Add new shepherd service to setup the
database.
Change-Id: I519efd9157b60f18c7e80e3bdc92c0e3c5729334
gnu: guix-data-service: Update to 0.0.1-56.62d6b59.
Add guile-lzlip as a direct propagated input, as this is used directly.
* gnu/packages/web.scm (guix-data-service): Update to 0.0.1-56.62d6b59.
[propagated-inputs]: Add guile-knots and guile-lzlip.
Change-Id: Iae7d172d92ca8004b92f721730e094ed0eee94b0
gnu: Add guile-knots.
* gnu/packages/guile-xyz.scm (guile-knots): New variable.
Change-Id: Ie021e01ac1e381c9a6b14afa6d1817bec62d17d3
gnu: emacs-debbugs: Update to 0.42.
* gnu/packages/emacs-xyz.scm (emacs-debbugs): Update to 0.42.
Change-Id: I3b3d23a68cd8e8749b8e4275b11a8f8ae909a3bf
gnu: lightdm-service-type: Add lightdm.conf to /etc/lightdm.
* gnu/services/lightdm.scm
(lightdm-configuration->greeters-config-dir): Rename to...
(lightdm-configuration-directory): ... this, and add the
lightdm-configuration-file.
(lightdm-shepherd-service): Don't pass the configuration file, don't set
XDG_CONFIG_DIRS
(lightdm-etc-service): New procedure.
(lightdm-service-type): Use lightdm-etc-service as the etc-extension.
Change-Id: I982ec1f7bdfd085621f45a8a1e4b175ab481202f
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
gnu: lightdm: Use global sysconfdir.
* gnu/packages/display-managers.scm (lightm)
[#:configure-flags]: Set sysconfdir to /etc.
[#:phases]: Overwrite sysconfdir in install phase for installing sample config
files.
Change-Id: If9c6ce810c726551bd3bf568d50cad8680829262
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
import/pypi: Fix project URL discovery when the project name contains periods.
* guix/import/pypi.scm (find-project-url): Add an extra candidate rewriting
periods to underscores in the project name.
Change-Id: I7e3afc63bcc87fafa40fcff2b394b90633d23067
import/utils: Replace '.' by '-' in snake-case procedure.
* guix/import/utils.scm (snake-case): Replace '.' by '-'. Update doc.
Change-Id: I46f2e066c82849627464d0690549288ebbc4e926
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
pack: Allow cross-compiling with '--relocatable'.
* guix/scripts/pack.scm (c-compiler-compiler): Remove exception when
cross-compiling and always build gexp->script for the host.
[toolchain]: Use standard-cross-packages when cross-compiling.
[search-paths]: Use package-search-paths instead of
package-native-search-paths when cross-compiling.
[run]: Use cc-for-target and strip-for-target.
Change-Id: I5503e48b3394fdfee06999f8d1ad82f5f0d9af96
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: libcbor: Update to 0.11.0.
* gnu/packages/compression.scm (libcbor): Update.
Change-Id: Ie372a9a73369eddac0620394e3e3608d8f27e0b6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
services: Add resize-file-system-service.
* gnu/services/admin.scm (resize-file-system-configuration): New configuration
type.
(resize-file-system-shepherd-service): New procedure.
(resize-file-system-service-type): New variable.
* doc/guix.texi (Miscallaneous Services): Document it.
Change-Id: Icae2fefc9a8d936d4c3add47520258b341f689a4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
packages: cloud-utils: Add missing growpart programs to path.
This ensures growpart can run in environments that may not have a PATH
variable set.
* gnu/packages/admin.scm (cloud-utils): Augment growpart PATH with necessary
programs.
Change-Id: Idf0ca9e14e4c9d82208fbf715dd0b235cd5a371b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: cgit: Remove input labels.
* gnu/packages/version-control.scm (cgit)
[inputs]: Remove labels.
[arguments]<phases>: Adjust.
Change-Id: Iff479fa636f7a4c4fef5137ae22934d4e213223b
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
gnu: gnulib: Move PropList.txt origin from phases to native-inputs.
* gnu/packages/dlang.scm (gnulib-checkout)[arguments]<phases>: Move PropList
origin from here...
[native-inputs]: ...to here.
Change-Id: I3576a169837039bc6beaae0d68ab459ed642e3c8
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: farstream: Move common origin from phases to native-inputs.
* gnu/packages/dlang.scm (farstream)[arguments]<phases>: Move common
origin from here...
[native-inputs]: ...to here.
Change-Id: I0023bca2fc021b82875b1ec7329c7e37116df0b3
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: smithforth: Move system.fs origin from phases to native-inputs.
* gnu/packages/dlang.scm (smithforth)[arguments]<phases>: Move system.fs
origin from here...
[native-inputs]: ...to here.
Change-Id: I82ff81f72dbe2ecf70fbbd44674596e1a62cadcf
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: dmd-bootstrap: Move phobos origin from phases to native-inputs.
* gnu/packages/dlang.scm (dmd-bootstrap)[arguments]<phases>: Move phobos
origin from here...
[native-inputs]: ...to here.
Change-Id: I10cb5f628dad2fdbb01df58134996bdcd0b73d62
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: gnome-recipes: Move libgd origin from phases to native-inputs.
* gnu/packages/dlang.scm (gnome-recipes)[arguments]<phases>: Move libgd
origin from here...
[native-inputs]: ...to here.
Change-Id: Ic1775a66608e114b5b31058386c8b739c155b7a5
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
packages: Use origin file names as their input labels.
* guix/packages.scm (add-input-label): Rely on 'origin-actual-file-name' for
internal inputs labels.
* tests/packages.scm ("this-package-input, origin"): New test.
* doc/guix.texi (package Reference): Mention origin lookup for
‘lookup-package-input’ & co.
* gnu/packages/base.scm (tzdata)[inputs]: Reintroduce label.
* gnu/packages/tex.scm (texlive-hyphen-complete)[inputs]: Likewise.
(texlive-newverbs)[native-inputs]: Likewise.
Change-Id: I6ba5352b1b1b8ab810da3730b09cb9db61d6429c
Co-authored-by: Simon Tournier <zimon.toutoune@gmail.com>
gnu: python-extension-helpers: Fix build.
* gnu/packages/python-xyz.scm (python-extension-helpers)[native-inputs]:
Add python-pip.
Change-Id: I831a04e0581e5bbfb975d3cf8cc4ecb1e8ab01fd