;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Ludovic Courtès ;;; ;;; 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 . ;;; ;;; Build a self-contained tarball containing binaries for Guix and its ;;; dependencies. ;;; (use-modules (guix) (guix ui) (gnu system install) (ice-9 match)) (define copy-file* (lift2 copy-file %store-monad)) (define rename-file* (lift2 rename-file %store-monad)) (match (command-line) ((_ system file) (with-store store (run-with-store store (mlet %store-monad ((tarball (self-contained-tarball))) (mbegin %store-monad (show-what-to-build* (list tarball)) (built-derivations (list tarball)) (copy-file* (derivation->output-path tarball) (string-append file ".part")) (rename-file* (string-append file ".part") file))) #:system system)))) ethod='get' action='/guix/log/gnu/installer/keymap.scm'>
AgeCommit message (Expand)Author
2020-04-09installer: Allow Alt+Shift toggle from non-Latin keyboard layouts....Fixes <https://bugs.gnu.org/40493>. * gnu/installer/newt/keymap.scm (%non-latin-layouts): New variable. (%non-latin-variants): New variable. (%latin-layout+variants): New variable. (toggleable-latin-layout): New procedure to compute combined layouts. (run-keymap-page): Use it. (keyboard-layout->configuration): Apply it in config.scm. (run-layout-page): Mention Alt+Shift. * gnu/installer/keymap.scm (kmscon-update-keymap): Pass on XKB options. * gnu/installer/record.scm (<installer>): Adjust code comments. * gnu/installer.scm (apply-keymap): Pass on XKB options. (installer-steps): Adjust code comments. * gnu/packages/patches/kmscon-runtime-keymap-switch.patch: Apply XKB options. Florian Pelz
2019-04-17installer: Parse the 'shortDescription' field from xkeyboard-config....* gnu/installer/keymap.scm (<x11-keymap-layout>)[synopsis]: New field. (xkb-rules->models+layouts): Fill out the 'synopsis' field. Ludovic Courtès