;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2022 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (tests services lightdm) #:use-module (guix diagnostics) #:use-module (gnu services lightdm) #:use-module (srfi srfi-64)) ;;; Tests for the (gnu services lightdm) module. ;;; Access some internals for whitebox testing. (define validate-lightdm-configuration (@@ (gnu services lightdm) validate-lightdm-configuration)) (test-begin "lightdm-service") (test-equal "error on missing greeter" 'ok (catch 'quit (lambda () (validate-lightdm-configuration (lightdm-configuration (greeters '())))) (lambda _ 'ok))) (test-equal "error when a greeter has multiple configurations" 'ok (catch 'quit (lambda () (lightdm-configuration (greeters (list (lightdm-gtk-greeter-configuration (theme-name "boring")) (lightdm-gtk-greeter-configuration (theme-name "blue")))))) (lambda _ 'ok))) (test-end "lightdm-service") option value='author'>author
AgeCommit message (Expand)Author
2024-08-31build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-mod......Until now users would have to cargo cult or inspect the private %default-modules variable of (guix build-systems gnu) to discover which modules to include when extending the used modules via the #:modules argument. The renaming was automated via the command: $ git grep -l %gnu-build-system-modules | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i * guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to... (%default-gnu-imported-modules): ... this. (%default-modules): Rename to... (%default-gnu-modules): ... this. Export. (dist-package, gnu-build, gnu-cross-build): Adjust accordingly. Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee Maxim Cournoyer
2024-04-16gnu: ksoloti-runtime: Update to 1.0.12-8....* gnu/packages/axoloti.scm (ksoloti-runtime): Update to 1.0.12-8. [arguments]: Remove obsolete patch to Makefiles. [inputs]: Replace dfu-util-for-axoloti with dfu-util. Change-Id: I57c78d32d2616909ca7b9a98392655c76df5eb27 Ricardo Wurmus
2024-04-05gnu: Add ksoloti-patcher....* gnu/packages/axoloti.scm (ksoloti-patcher): New variable. Change-Id: Id70d04b3be3b9655a077af4ad67dcde45bfbc102 Ricardo Wurmus
2024-04-05gnu: Add ksoloti-runtime....* gnu/packages/axoloti.scm (ksoloti-runtime): New variable. Change-Id: I248852405617f2cf1d6b7a5ac7932359836f9e22 Ricardo Wurmus
2024-04-05gnu: axoloti-runtime: Simplify with G-expression....* gnu/packages/axoloti.scm (axoloti-runtime)[arguments]: Use G-expression to simplify; remove trailing #T from build phases. Change-Id: Ic9628b58c0e2b7816af6b7b42ab1aff927b4b0da Ricardo Wurmus
2024-04-05gnu: axoloti-runtime: Simplify....* gnu/packages/axoloti.scm (axoloti-runtime)[source]: Remove BEGIN and trailing #T from snippet. Change-Id: I79d0c11e5430f56bcb07d70b285ec94116d7b509 Ricardo Wurmus