From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 17:15:42 2021 Received: (at submit) by debbugs.gnu.org; 27 Sep 2021 21:15:42 +0000 Received: from localhost ([127.0.0.1]:42982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUxyQ-0004oe-Ef for submit@debbugs.gnu.org; Mon, 27 Sep 2021 17:15:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:41354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUxyO-0004oW-Q5 for submit@debbugs.gnu.org; Mon, 27 Sep 2021 17:15:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUxyO-0005CF-JU for bug-guix@gnu.org; Mon, 27 Sep 2021 17:15:40 -0400 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:40551) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUxyM-0004ea-VA for bug-guix@gnu.org; Mon, 27 Sep 2021 17:15:40 -0400 Received: by mail-lf1-x12b.google.com with SMTP id b15so82086689lfe.7 for ; Mon, 27 Sep 2021 14:15:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:user-agent:mime-version; bh=phdo6WdUCyNV/JMzQQCCJhq3Z4Ky4aoZEAhV9twMrYg=; b=g3tL7Dxe1vOc7ihSp22bTGCMCeowHjwRuzRYuwNuONAXQ3fs9rnj9bh7uZJXcSuD4d 42JwuUZm92jmtzsXhm3AB9y8PghVR4hN/IM7UUlfovrgTeL5XHPWsWOqUZBChc8nmXeA dmDQSWXREY/ojhURf2JqK2ZLnMRYUE+V4voeWVDep5ZRxb8GuDcXD3Ta45xd20EoAoQJ 3o6lN9RkCQoU5yMiIu4hWkDobCnQikldy/DFxPhe5R0Jz/nD4/0d6HkE0388ashvM6mb LEawxEoMvwxQshVQXFKOQl5900u3GJLxwnoDcZpMZFRdePlqB9V3Qc7DS0f7A/bmvY0k cexQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :mime-version; bh=phdo6WdUCyNV/JMzQQCCJhq3Z4Ky4aoZEAhV9twMrYg=; b=pLrYVk7EqcOCtaoa40BYHU5d6Hpl9UvhH7cBtkdm2d7hHX1z+wKZfAFOJkivaxJu0B pSDkvT4yNo4+w9Gi+Pzmu92GMTJnbqoxPusYLRt2FgHSJ1I9Zxr1O3BRl4pY/sWYnQDh ACi3jlab6AErrVXQqaKDuKjY16WBrnu04A3Soyg6r9lf/e8xlNlL3BMNkv3ia9KrJEWq 1P2jJWIQNpfVgaMN7hL26IKvTTBaEaXuGLbw0INg1iKMqAgD30ldpGUICoOmDLk4yFIy ebwbtFFV85nK86NFrvrH/HKzfqhrwmPhJa1T5CwvOdkXV2FT8d5oq3ckYdJEXSAcTu2Z Zk0g== X-Gm-Message-State: AOAM530ipgszfOeocamMayKF+/b2FyTZ6We1//eSvtlL7AH0dB87C0Ah VikJUAZmATWWQqHWej6aDAo= X-Google-Smtp-Source: ABdhPJymGUH9mbvkmo1IK98SWQeAXzlCdEk04Vvz5OIbwClEF2l+FYif5Q9TFzlaPv8PPL3yTURgNQ== X-Received: by 2002:a05:6512:10cf:: with SMTP id k15mr1758730lfg.617.1632777336726; Mon, 27 Sep 2021 14:15:36 -0700 (PDT) Received: from guixsd ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id f3sm1708361lfk.229.2021.09.27.14.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 14:15:36 -0700 (PDT) From: Oleg Pykhalov To: bug-guix Subject: Unbound variables in Guix Home Date: Tue, 28 Sep 2021 00:15:33 +0300 Message-ID: <87k0j14t56.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=go.wigust@gmail.com; helo=mail-lf1-x12b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Andrew Tropin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Hi Guix, We have unbound variables in some Guix Home files: --8<---------------cut here---------------start------------->8--- gnu/home-services/configuration.scm:56:6: warning: possibly unbound variable `formatted-message' gnu/home-services/configuration.scm:57:7: warning: possibly unbound variable `G_' gnu/home-services/xdg.scm:309:43: warning: possibly unbound variable `maybe-list' gnu/home-services/xdg.scm:330:13: warning: possibly unbound variable `list->human-readable-list' guix/scripts/home/import.scm:210:18: warning: possibly unbound variable `package-version' guix/scripts/home/import.scm:210:35: warning: possibly unbound variable `find-packages-by-name' guix/scripts/home/import.scm:222:23: warning: possibly unbound variable `cut' guix/scripts/home/import.scm:222:27: warning: possibly unbound variable `version>?' guix/scripts/home/import.scm:222:45: warning: possibly unbound variable `<>' guix/scripts/home/import.scm:225:16: warning: possibly unbound variable `version-unique-prefix' --8<---------------cut here---------------end--------------->8--- maybe-list and list->human-readable-list come from gnu/home-services-utils.scm in rde project. Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmFSNHUUHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+pxcGQ/+Ooci//+FzKcSRP1VAPXZxe4fMVWJ 1ADm10JL4v+yGYTdyLnclFfE4sPzDqU4fbjMKo1lXE/mn6I53XwaWVBQwPJsObCZ DUTf7BVkAXXGnQvUCnfp/nrEzuSAkNrhPeS9SegdTKGJ/ocMnoqM3dof8xumuzlj PCah4yvubq1nszck9zB92spgYWri1E8ir87U1kan2uK29F7vC7/0nobxIcUF1B/K 93h0zZqBQOmyQvFvabLvOS10IIWUEZBCohE9xi45/1moSZhseIX0GvP52rbIEfOJ zbxWHgG/3n5k6gnCreNYXrlE7h/lnlJYxzfF2NsNftr81DE+QXokTi+Ljnzu0eyO EJZfiz0mZ/oLdtFA+O/dfh1RvfHfDMz/Oavj+Qmllc/PgprGSe7wwChSJGDZVgIG xJ9jfEL+ERdt9O+iqubnDIUiB8Y7gJv+ea8lsWTzScT4Gw2hNxf06KYQXAlAntZV OYATYaD77EyMTQ3qeVpJb6SGqrHTxIgHYm5MzSptWdR3n0EyIN1OaE5A+K2KZ+K3 7Of8KsfDByIGror9LX0KBHJQvRg6xoYVXbK0MGJ6ZQRdmpKQ6OR9Sz4WA0J1M7Mc H7nnlV2fYJr0ikrIznzLi2NFn5lXEZgtEkVXZlJqy1Q1vXGMw0ZaY5fNtlg8u8+A T8UjJx7hHVtS0NE= =PXDY -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 05:35:49 2021 Received: (at submit) by debbugs.gnu.org; 28 Sep 2021 09:35:49 +0000 Received: from localhost ([127.0.0.1]:43868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV9Wf-000778-4D for submit@debbugs.gnu.org; Tue, 28 Sep 2021 05:35:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:59822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV9Wd-000771-JQ for submit@debbugs.gnu.org; Tue, 28 Sep 2021 05:35:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mV9Wd-0003Js-9T for bug-guix@gnu.org; Tue, 28 Sep 2021 05:35:47 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:47082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mV9WZ-000738-M7 for bug-guix@gnu.org; Tue, 28 Sep 2021 05:35:46 -0400 Received: by mail-lf1-x130.google.com with SMTP id z24so90941194lfu.13 for ; Tue, 28 Sep 2021 02:35:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20210112.gappssmtp.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=3VrhpRrgqvZI0LUX4CPrbnoXl786oxgt6KqhbwBT4E0=; b=uJZEe20wIwp6h+u709MpfKgeLb/2AlRS7i5TIX0mM7EVZORI+xmgxXhqJycOezV9VE e+cl1tgZ7eIozFfffiAUgcjgweHy64ULboYe+qgEoE/+QYmQUtAiZvfoFUZFe6JxXqF9 uHdNaEYVZ+9TrobY6hjhkUSZOfdhXWXygz3d9MXbbE/x0oIJLlYTlyzEhKByckHXNOpS cwRR+wWz1qh4k0ZdfaJsM73KpWagOZLW5qsiXdz9V57YMaFS4pS8e2Lfze7ORtrT9yc4 1JOR/O0XsyeuOJdqI07cgAaK3Ccw9Oqdphxn0wELZlV5uds+Rqs8hc2tYBWAzXOe6G7a 0FAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=3VrhpRrgqvZI0LUX4CPrbnoXl786oxgt6KqhbwBT4E0=; b=gszDDmkXCgN+SCJcms927X3oXJh+KVqx5Skt7pyr9fVHJgmfCVGLLtOCjVF+qTjNwX l8w5FBYE0cFRGiUCgXV3xHZDYyfnpwIuvOt07tJ4XKIKxTBtQ/KtV6LtIkpffYv59UoG 6TjtigO9Ojc56frLErLhszuSZDhQsi7L9niCUFiJMcKdj7qlqFCSjpdfSZG32uPNjRt3 uvQwnLErpCdhuVKOcrvqWKR2vrXEW8CY4lMT+T0/JFbIROEWtJzsIZ8lhNkvBp1REsmo 6r722s4OfmdQ5Fvv+OWrBjy/7GrwpyP6epxbfSv2pnSa5B+K6OxWIJc4H11YFoHH/K/f aJBg== X-Gm-Message-State: AOAM533CMVCcWsT+ZcmujRd3qIwLBRdm4D+9LZYfWoepnbkTklWonG8g bSauGkGvsSlcIrt9ZcOBhcIFkg== X-Google-Smtp-Source: ABdhPJzbtXoC7DEwoIiQ+jWIhkLkIl5zJxnOW4Gh9T5vN3Jze/49js9wSRUUn6hSDMqXr/WdOg92EQ== X-Received: by 2002:a2e:5019:: with SMTP id e25mr4734342ljb.63.1632821741590; Tue, 28 Sep 2021 02:35:41 -0700 (PDT) Received: from localhost (109-252-93-92.nat.spd-mgts.ru. [109.252.93.92]) by smtp.gmail.com with ESMTPSA id t4sm2049418lfp.250.2021.09.28.02.35.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 02:35:40 -0700 (PDT) From: Andrew Tropin To: Oleg Pykhalov , bug-guix Subject: Re: Unbound variables in Guix Home In-Reply-To: <87k0j14t56.fsf@gmail.com> References: <87k0j14t56.fsf@gmail.com> Date: Tue, 28 Sep 2021 12:35:37 +0300 Message-ID: <87a6jxghzq.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2a00:1450:4864:20::130; envelope-from=andrew@trop.in; helo=mail-lf1-x130.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain On 2021-09-28 00:15, Oleg Pykhalov wrote: > Hi Guix, > > We have unbound variables in some Guix Home files: > --8<---------------cut here---------------start------------->8--- > gnu/home-services/configuration.scm:56:6: warning: possibly unbound variable `formatted-message' > gnu/home-services/configuration.scm:57:7: warning: possibly unbound variable `G_' > gnu/home-services/xdg.scm:309:43: warning: possibly unbound variable `maybe-list' > gnu/home-services/xdg.scm:330:13: warning: possibly unbound variable `list->human-readable-list' > guix/scripts/home/import.scm:210:18: warning: possibly unbound variable `package-version' > guix/scripts/home/import.scm:210:35: warning: possibly unbound variable `find-packages-by-name' > guix/scripts/home/import.scm:222:23: warning: possibly unbound variable `cut' > guix/scripts/home/import.scm:222:27: warning: possibly unbound variable `version>?' > guix/scripts/home/import.scm:222:45: warning: possibly unbound variable `<>' > guix/scripts/home/import.scm:225:16: warning: possibly unbound variable `version-unique-prefix' > --8<---------------cut here---------------end--------------->8--- > > maybe-list and list->human-readable-list come from > gnu/home-services-utils.scm in rde project. > > Oleg. My bad) Here it is: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-home-services-Add-missing-imports-and-function-defin.patch Content-Transfer-Encoding: quoted-printable From=20634e6cbb7153ea02fb2ace6d39dae4055ed0c73c Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Tue, 28 Sep 2021 12:30:55 +0300 Subject: [PATCH] home-services: Add missing imports and function definition. * gnu/home-services/configuration.scm: Add missing imports. * gnu/home-services/utils.scm (list->human-readable-list): Add new function. * gnu/home-services/configuration.scm: Add missing imports. * gnu/home-services/xdg.scm: Fix ensure-list function. * guix/scripts/home/import.scm: Add missing imports. =2D-- gnu/home-services/configuration.scm | 2 ++ gnu/home-services/utils.scm | 30 ++++++++++++++++++++++++++++- gnu/home-services/xdg.scm | 12 +++++++----- guix/scripts/home/import.scm | 4 ++++ 4 files changed, 42 insertions(+), 6 deletions(-) diff --git a/gnu/home-services/configuration.scm b/gnu/home-services/config= uration.scm index 3698006c37..e8f4bc77ec 100644 =2D-- a/gnu/home-services/configuration.scm +++ b/gnu/home-services/configuration.scm @@ -23,6 +23,8 @@ #:use-module (srfi srfi-1) #:use-module (ice-9 curried-definitions) #:use-module (ice-9 match) + #:use-module (guix i18n) + #:use-module (guix diagnostics) =20 #:export (filter-configuration-fields =20 diff --git a/gnu/home-services/utils.scm b/gnu/home-services/utils.scm index 3e490a0515..f13133a7ae 100644 =2D-- a/gnu/home-services/utils.scm +++ b/gnu/home-services/utils.scm @@ -24,7 +24,8 @@ =20 #:export (maybe-object->string object->snake-case-string =2D object->camel-case-string)) + object->camel-case-string + list->human-readable-list)) =20 (define (maybe-object->string object) "Like @code{object->string} but don't do anyting if OBJECT already is @@ -75,3 +76,30 @@ STYLE can be three `@code{lower}', `@code{upper}', defau= lts to (cons (first splitted-string) (map string-capitalize (cdr splitted-string)))))))))) + +(define* (list->human-readable-list lst + #:key + (cumulative? #f) + (proc identity)) + "Turn a list LST into a sequence of terms readable by humans. +If CUMULATIVE? is @code{#t}, use ``and'', otherwise use ``or'' before +the last term. + +PROC is a procedure to apply to each of the elements of a list before +turning them into a single human readable string. + +@example +(list->human-readable-list '(1 4 9) #:cumulative? #t #:proc sqrt) +@result{} \"1, 2, and 3\" +@end example + +yields:" + (let* ((word (if cumulative? "and " "or ")) + (init (append (drop-right lst 1)))) + (format #f "~a" (string-append + (string-join + (map (compose maybe-object->string proc) init) + ", " 'suffix) + word + (maybe-object->string (proc (last lst))))))) + diff --git a/gnu/home-services/xdg.scm b/gnu/home-services/xdg.scm index 457ce999a1..94275f3b65 100644 =2D-- a/gnu/home-services/xdg.scm +++ b/gnu/home-services/xdg.scm @@ -287,9 +287,9 @@ The value of an XDG MIME entry must be a list, string o= r symbol, was given ~a") =20 @example (merge-duplicates '((key1 . value1) =2D (key2 . value2) =2D (key1 . value3) =2D (key1 . value4)) '()) + (key2 . value2) + (key1 . value3) + (key1 . value4)) '()) =20 @result{} ((key1 . (value4 value3 value1)) (key2 . value2)) @end example" @@ -299,14 +299,16 @@ The value of an XDG MIME entry must be a list, string= or symbol, was given ~a") (tail (cdr alist)) (key (first head)) (value (cdr head)) =2D (duplicate? (assoc key acc))) + (duplicate? (assoc key acc)) + (ensure-list (lambda (x) + (if (list? x) x (list x))))) (if duplicate? ;; XXX: This will change the order of things, ;; though, it shouldn't be a problem for XDG MIME. (merge-duplicates tail (alist-cons key =2D (cons value (maybe-list (cdr duplicate?))) + (cons value (ensure-list (cdr duplicate?))) (alist-delete key acc))) (merge-duplicates tail (cons head acc))))))) =20 diff --git a/guix/scripts/home/import.scm b/guix/scripts/home/import.scm index 39f45dbeac..79fb23a2fd 100644 =2D-- a/guix/scripts/home/import.scm +++ b/guix/scripts/home/import.scm @@ -20,9 +20,13 @@ (define-module (guix scripts home import) #:use-module (guix profiles) #:use-module (guix ui) + #:use-module (guix utils) + #:use-module (guix packages) + #:use-module (gnu packages) #:use-module (ice-9 match) #:use-module (ice-9 pretty-print) #:use-module (srfi srfi-1) + #:use-module (srfi srfi-26) #:export (import-manifest)) =20 ;;; Commentary: =2D-=20 2.33.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmFS4ekACgkQIgjSCVjB 3rBXAA/8Cv+g8uxRqGDGX5JkGxb06l0d8edrlETzUGHTwzyIeWDL2Lpw7oLV9CFD P361VQt7+oc/WQe/8lx/6xtj3NwxR7UzMOr2NEczr+Xtwjyzymo/NKCB63mBbDqF H4oaOgNT0woTxcAZnClvY/QgzsQUIBNto3x17m78g8SXn4TUQ6Kv9sdXfStyGVwR WFI10Qe6i0YVgvAchm3HbjM9hBgzC35owCTKt7+bxssHbdrFIZubMssMY/GNMPAm GCa1BulUHLLUg4/2aepqUbXZqFUqF3jAgJn2vIVPmAAtJa+pM7lVe0x4ctp/Dj/E Vjon8GEhFdgQIhGZMe2kFK96nZm5eNp71ftgiSENwvb13s0pCT26H0PEYalFonSM bw8FUVeH/AwVj3Mkw/tMQga4pQDpluC6ShOwMRL/W+0DTmSJeYikpdYmD6IQk/8G RzvLDisLKFNrHfBesvlk0YVTBzIxh5fw9zlOMdUXYUwqbavxfhik1K4PH+qqSsoy yb525ikvMOFh9kF5J44+2IvdolaeFqCuqFgO9sC8tpRuGgEHh7CpL3Kix1STOpjs pwXQZIxBsxzWBBLmhpuaXTdjr6OVCp9G3A3DE6ZSIIvWnQ9+lRJrepzId0ES8XgF mpHtkB1v2iqhdO+9Fkj71ZIeH8+8rqn/71rcCxAuv8yzGrY5l4s= =6XzT -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 07:06:42 2021 Received: (at 50856-done) by debbugs.gnu.org; 28 Sep 2021 11:06:42 +0000 Received: from localhost ([127.0.0.1]:44003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVAwc-000195-KK for submit@debbugs.gnu.org; Tue, 28 Sep 2021 07:06:42 -0400 Received: from mail-lf1-f53.google.com ([209.85.167.53]:46700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVAwb-00018t-Lx for 50856-done@debbugs.gnu.org; Tue, 28 Sep 2021 07:06:42 -0400 Received: by mail-lf1-f53.google.com with SMTP id z24so91880674lfu.13 for <50856-done@debbugs.gnu.org>; Tue, 28 Sep 2021 04:06:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=IvDYXat3pJY7wOfmZCsiH4OSkhTxm5Taj1T/ghMqY9Q=; b=d1GDdrWNcHGLND8HPiRI23FH9ojRDApRL4d1iO8yT1Q2iH9YoYhRBCEnwGm5zJcNhZ magphdKSxKuBlNjJR/WEg6iXOd+kxdY8kDHTp1kOTkJCcUNyU3dep+wLwz+PsBSJw5mo LQQnqbkv80bcRr5ncHwbLYEhuOSVQ1Fe2Hz7qIcNT0LU9NXp+ISvJB93X9ZsDZalzWKj kTqRMmpA4S2TzmJwqL6Xu5+8vGVOkvVfxBLIlbton5o/5Az+4rUj6IKtj76Betjow4VA q80LJfEgLDlZsAu/VVDzWXyH8hjnkHd6r/cjz39DM36Szz7Kdqiyxb2XpJHFev/pbZEg QwNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=IvDYXat3pJY7wOfmZCsiH4OSkhTxm5Taj1T/ghMqY9Q=; b=tYE/lCJiHqyK4BQrR8ZRW0pxfaSV2gZCla/3VSHgjX3Td2jnbL8OrkBOAPDnI4t4AD FEUBWgUX0SYE34gmXcId3HgrDI+M5yFbC2rsxfXprqos78DqSKaIgVJfKlHJyEcvDb8j DLDjOpDt2H9PXc6OQXVuhca1M79Ch8RJ6Vkp3P8ERDz9xrdppD/5qrVWA5KJHPvlyJXG GSzleytTHkpWGMIXr7QYZb9YyUKJL5l/KwggDsDKtURrQRfOsZHUtF4SBX1h4RQOd6FR cXflo2CEQw1uiuV/EXZzWwo1JCXXYPaMrkK5G4H2fZc8xjzu5kMN2hUa3eaRUibVqJVc SjLw== X-Gm-Message-State: AOAM531ytZfmJ6KbeicCLa0cix8UaMbwRJ8115etbHi8+Q9HvIJIwf0b uMtejsC1kaqXN/tzjtht9KI= X-Google-Smtp-Source: ABdhPJxxdku1VnLRwWJJapfny/oGaVKvtNhzY+GOoS7Qmcq1ym0efLfWG8/cTbYTjmtYxErnHbYSsg== X-Received: by 2002:a2e:6f12:: with SMTP id k18mr5044901ljc.378.1632827195658; Tue, 28 Sep 2021 04:06:35 -0700 (PDT) Received: from guixsd ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id b23sm1891479lfs.92.2021.09.28.04.06.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 04:06:35 -0700 (PDT) From: Oleg Pykhalov To: 50856-done@debbugs.gnu.org Subject: Re: Unbound variables in Guix Home References: <87k0j14t56.fsf@gmail.com> <87a6jxghzq.fsf@trop.in> Date: Tue, 28 Sep 2021 14:06:32 +0300 In-Reply-To: <87a6jxghzq.fsf@trop.in> (Andrew Tropin's message of "Tue, 28 Sep 2021 12:35:37 +0300") Message-ID: <87zgrx7ydj.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50856-done Cc: Andrew Tropin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Andrew Tropin writes: [=E2=80=A6] > From 634e6cbb7153ea02fb2ace6d39dae4055ed0c73c Mon Sep 17 00:00:00 2001 > From: Andrew Tropin > Date: Tue, 28 Sep 2021 12:30:55 +0300 > Subject: [PATCH] home-services: Add missing imports and function definiti= on. > > * gnu/home-services/configuration.scm: Add missing imports. > * gnu/home-services/utils.scm (list->human-readable-list): Add new functi= on. > * gnu/home-services/configuration.scm: Add missing imports. > * gnu/home-services/xdg.scm: Fix ensure-list function. > * guix/scripts/home/import.scm: Add missing imports. > --- > gnu/home-services/configuration.scm | 2 ++ > gnu/home-services/utils.scm | 30 ++++++++++++++++++++++++++++- > gnu/home-services/xdg.scm | 12 +++++++----- > guix/scripts/home/import.scm | 4 ++++ > 4 files changed, 42 insertions(+), 6 deletions(-) Applied, thank you! Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmFS9zgUHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+pxevg/8DBAUJF/LIctXiH6J0XRQoJeZJVqZ GWyocy3umK3NbOMXIi33XBATV6wRT+aoWdZO2wGrfbNAA8aJKE+IxeKw/Igp/1+k gMllZdJTun3rCtdVW8FqDckLnKyt9OfnH1N08FAk+MH9pLdwNieik5cv9Ly1dBkC WjbRhogy8wrpetI5TmfRJlZPbJw72cEQD78OQ7nAEUwpTLTvoPI7Q8wXXlrz2ViV 7fQGEaDx3dfIAEhcuWdB+LNhVFst2kZX6W7bDnRJ9U9fjgC6gJQNLmY4O5axK1Pp aZxRTHskxNsaj41llBzd9OvZP4v8PKpUsTMoo7N6GhzLGLlFtdTzHH0/yqy2lL0q 6MgIeAMrp63nODbrbgaDcXpx6QnxV+iFlVrD5YPvj4fb5oMz8HKS7PYRQxMkXyPN 4TwiztYswfC+cVjYyT+PDpxEbRAl0nf7xFRNjSTO4oH6VFjk3npIJ4eCepihSEKe Tept66muOSyGoTSfVcHZYtr7ELUmfy1FspVAyJ/O0zLy9nem8IM4iXSbzO/2GEh7 UweWXh1oyoxduoHEmkKNIvDAHrSALVTJEY9va5JjNwY3kZqska//wsL+3GOuLSNS rKC0TBBetfZrVpQ7oMrdkH31I+482MKKRJYfNDrGjDRs3kVTBhTYoDvPZ+6QGkzw lHpVhoxao3sp7xQ= =t/+I -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Aug 15 20:51:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 26 Oct 2021 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator