;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; ;;; 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 . ;;; Commentary: ;;; ;;; This file defines a manifest with a selection of packages for Cuirass to ;;; build for GNU/Hurd. ;;; ;;; Code: (use-modules (gnu) (gnu system hurd) (guix packages) (guix utils) (ice-9 match) (srfi srfi-1)) (use-package-modules base commencement compression file gawk gdb gettext guile hurd less m4 package-management python ssh version-control) (define (input->package input) "Return the INPUT as package, or #f." (match input ((label (and (? package?) package)) package) ((label (and (? package?) package . output)) (cons package output)) (_ #f))) (define guix-dependencies (filter-map input->package (fold alist-delete (package-direct-inputs guix) '("glibc-utf8-locales" "graphviz" "po4a")))) (define (package-without-tests p) (package/inherit p (arguments (substitute-keyword-arguments (package-arguments p) ((#:tests? _ #f) #f))))) (packages->manifest (cons* ;; where it all starts hello ;; development utililities diffutils file findutils gawk grep gzip less m4 openssh-sans-x tar xz ;; development packages gcc-toolchain gdb-minimal git-minimal gnu-make ;; guix environment guix --without-tests=python-minimal --without-tests=gettext-minimal (package-without-tests gettext-minimal) (package-without-tests python-minimal) (append guix-dependencies (delete guile-3.0 %base-packages/hurd)))) og/gnu/services/linux.scm?id=734f50c31dddc75dca13e2c81abf0ad5b5433e29'>linux.scm
AgeCommit message (Expand)Author
2022-06-11system: Align zram priority with swap-space spec to clarify....Fixes <https://issues.guix.gnu.org/54783>. * gnu/services/linux.scm (zram-device-configuration) [priority]: Adapt to use #f or an integer from 0 to 32767. Add sanitizer to warn for the change and delay the field. (zram-device-configuration->udev-string): Adapt as above. * doc/guix.texi (Zram Device Service): Remove double copyright line. Change priority description to refer to the Swap Space one, and suggest not leaving the default #f on to properly use zram. Reported-by: Stefan Baums <baums@stefanbaums.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Josselin Poiret
2021-04-24services: Add a service for rasdaemon....* gnu/services/linux.scm (rasdaemon-configuration, rasdaemon-configuration?, rasdaemon-configuration-record?, rasdaemon-service-type): New variables. * doc/guix.texi (Linux Services): Document it. Signed-off-by: Leo Famulari <leo@famulari.name> B. Wilson
2021-02-08gnu: Remove 'file-systems requirement from kernel-module-loader....* gnu/services/linux.scm (kernel-module-loader-shepherd-service): Remove 'file-systems requirement. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> raid5atemyhomework
2021-01-06services: kernel-module-loader: Return a single 'shepherd-service'....* gnu/services/linux.scm (kernel-module-loader-shepherd-service): Return a 'shepherd-service' instead of a list of it. (kernel-module-loader-service-type): Adjust it. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Brice Waegeneire