From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SA5NKu/LlGHSmwAAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 10:31:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0HIZJu/LlGF7VgAAB5/wlQ (envelope-from ) for ; Wed, 17 Nov 2021 09:31:27 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 26B6972D9 for ; Wed, 17 Nov 2021 10:31:27 +0100 (CET) Received: from localhost ([::1]:48258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnHHq-000758-9t for larch@yhetil.org; Wed, 17 Nov 2021 04:31:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnHHS-0006qN-Hj for bug-guix@gnu.org; Wed, 17 Nov 2021 04:31:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48625) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnHHS-0001qt-8E for bug-guix@gnu.org; Wed, 17 Nov 2021 04:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnHHR-0006wF-VG for bug-guix@gnu.org; Wed, 17 Nov 2021 04:31:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#51918: home-bash-service-type adds the defaults and aliases to the end of the file Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 17 Nov 2021 09:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51918 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51918@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163714143226608 (code B ref -1); Wed, 17 Nov 2021 09:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Nov 2021 09:30:32 +0000 Received: from localhost ([127.0.0.1]:60171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnHGy-0006v6-2D for submit@debbugs.gnu.org; Wed, 17 Nov 2021 04:30:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:48516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnHGv-0006uw-Rm for submit@debbugs.gnu.org; Wed, 17 Nov 2021 04:30:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnHGv-000626-LC for bug-guix@gnu.org; Wed, 17 Nov 2021 04:30:29 -0500 Received: from [2a00:1450:4864:20::12d] (port=35758 helo=mail-lf1-x12d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnHGt-0001nX-5F for bug-guix@gnu.org; Wed, 17 Nov 2021 04:30:29 -0500 Received: by mail-lf1-x12d.google.com with SMTP id u3so5693695lfl.2 for ; Wed, 17 Nov 2021 01:30:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version; bh=HGuJvOK2HzTwXMqbarHO+5b61TeG8WSx3irXTMWdDOA=; b=gOCYrNXTenk7dSm+1b61sl+1T7CjjLw7DywdalugIXaFAfBtfy6zlY1v5ZkldVOsJo NjdOMfJ8hiyL2ZXuEeR6yFEKDz8PzyWTDgPte91GvKIjp2YPBbtIrwvIzSv8vtg/Axmp db5ALBBCI3NqYoN0eT7d2DTic6ioAFd+sTd8SQYTzfRtRFiwNM3rMk4t3EC8iy23tFqV 56jlbWs28N46Xy1Dquk6txwBD0rNsDDTWzDwltMZ/6P96x+w+KxLRKSCl61fA7RgLEUo w6oLOXNmkJuoTwI5+nfWdWieXN/U3GckS4nmeLVGatdpYOIycn0qvgBpACNg2vOpCOZK zIwA== 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:mime-version; bh=HGuJvOK2HzTwXMqbarHO+5b61TeG8WSx3irXTMWdDOA=; b=lMAD4z2SpljEuBtAqYRmzW4rSpXd3XkKsHYCZm78LndEDVu3tZnspV8NwKSFOkINQt ZtcQNcyIlOGZWgcFmvYdRxJKroFolLLLNcL4nIB77t4WM2jEYyoAGl8PfXdAYdBLpc1y X3O1JB1p5zAiuQy0wKMqyVnhEpCTWHkptOeSJHvA51C/j/zZUUp8WUl/rZB3HNQgEBO2 VJ8iOVTmSKgrOku/Dz1jhMznHzTORWPyPuBqpS/Z1ChrqNUS9lJ6+9kuTsQU7xrQUN87 KheJf60DllhlLYo8Ej4UdxYmmC1KkiI78Kvz8OP0Y+t/OyR4stRj9GSZv9LkjBZspfSW w6Kw== X-Gm-Message-State: AOAM533T4STLaZWFGS/clD23o+zZYLL7miASil25JaNSMziVyd6Eu8w7 IKU9Ku8bmYwsvENOqnkhAnXg2qluyIIs+g== X-Google-Smtp-Source: ABdhPJy7enXIJICR1V69ZMW6oC496YkPlDyOi03olGt9hTDjedxlEcvIRoNgohYuCbXQl137dwq4cQ== X-Received: by 2002:a19:9109:: with SMTP id t9mr9521067lfd.214.1637141424180; Wed, 17 Nov 2021 01:30:24 -0800 (PST) Received: from localhost (109-252-167-148.dynamic.spd-mgts.ru. [109.252.167.148]) by smtp.gmail.com with ESMTPSA id w24sm2056995lfc.99.2021.11.17.01.30.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 01:30:23 -0800 (PST) From: Andrew Tropin Date: Wed, 17 Nov 2021 12:30:20 +0300 Message-ID: <8735nvp1sj.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12d (failed) Received-SPF: none client-ip=2a00:1450:4864:20::12d; envelope-from=andrew@trop.in; helo=mail-lf1-x12d.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Xinglu Chen Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637141487; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=HGuJvOK2HzTwXMqbarHO+5b61TeG8WSx3irXTMWdDOA=; b=KFvYC6HaiS8w8xLhy+jKVRfXQ3noRSHiUc4hRv4a8MBvCsRWxR3e9NQ898suodmbXnGoCW aVpAm8IhpqnaPt7nPzrXRb4byuEyp6VZNW6Y8tB0eTGtuTCDdsSvlDx7kSG74Qx8oE7bZj EODrU1Orh3zJ1+4qoqPjUJwJmfhVoq1VMHu6t0tGIzmkB0HSNq4zEogXU01GvmeRr7id0G OIXhSmNVj2wwPmkp7c8cSkvCtW3PruzG7wIX0edgelZjTAOMFtC1N6j2kDvk79CT89fOJX Sh6TXiLHawFW4lS0j3YCmBecolffcTvh3YG5Mqgm9oYQBH/Rc5pRNXAg4x/JSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637141487; a=rsa-sha256; cv=none; b=YMut8I1fYQYdVkle0UVyg5roMTkpvqLEGUfQLE9fpCgrC4Y/GeqHGcQoGn+TPacIvOSUVQ wOTrwjP3C0Rtl1XL3en57QWBtDmJi1o30MBuN3ez0X+FmGIEa6yD1md4QPMPGHzEpy1E93 qGD9gsbDwQdZudQnsQJNeMqsHznmvomDWYkTAv/frLUs/2vo9iUbyA1eh2vdq9kyznmVjl DZqgYtMzMXltYmSXfvijWxwbZDYTguUnRK9D7vWfdN7p3FGrma6DC9rjsS4HPbEfMh6KD4 WsV1r5WmiZdyKQTm5Vg//Ds7Oml+Z2ZR3KJ01F2QwJmVrnqUyqSS27DbCjrzFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop-in.20210112.gappssmtp.com header.s=20210112 header.b=gOCYrNXT; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop-in.20210112.gappssmtp.com header.s=20210112 header.b=gOCYrNXT; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 26B6972D9 X-Spam-Score: -3.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: vwRHrxEb+2Lz --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Test in guix-home.sh looks correct, but it fails: https://git.savannah.gnu.org/cgit/guix.git/tree/tests/guix-home.sh?h=3D5eb5= c0789f34e87ee417a53ddfcfa3b6521bb337#n98 Seems something changed in home-bash-service-type, for some reason it adds the serialized content of aliases field and guix-bashrc variable after the content of bashrc field. Original implementation works as expected and adds the content of bashrc to the end of ~/.bashrc. =2D-8<---------------cut here---------------start------------->8--- (list ((@ (gnu services) service) (@ (gnu home-services shells) home-bash-service-type) ((@ (gnu home-services shells) home-bash-configuration) (guix-defaults? #t) (bashrc (list "echo hi")))) ((@ (gnu services) simple-service) 'test-bash (@ (gnu home-services shells) home-bash-service-type) ((@ (gnu home-services shells) home-bash-extension) (bashrc (list "echo very hi"))))) =2D-8<---------------cut here---------------end--------------->8--- https://git.sr.ht/~abcdw/rde/tree/master/item/gnu/home-services/shells.scm =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJDBAEBCgAtFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmGUy6wPHGFuZHJld0B0 cm9wLmluAAoJECII0glYwd6wJaAP/A/GodMDtKyjw1KMXPlPM7dmXaJf4a1BiY7t yYOp2GTmSyitcHmqn2/x+f5TsaEFiEcxbwEcZVe884QoRqhHv8JBL8zxwOk1EDyI hMW8Il/AScXWpxOeoeTgJLGMeTqz8mJZBpn/M9zD6bJyQULRQHZpbaIjXvxQ/96F VTzpmc0uKsjDUgMnNFzKLgq7eeojPqs8SWWW42q2+x6zIwTGxjAXG5on8g0kex2T 27qwdO2kARILRQ/mkd2YXlTo+YvrJosHto3jiLuYFLg9uyZ1xW8QpmPK3Ae8tSjj 1MidxHryz9myW+nN5KOaOSDIX9sTRp8D8YS9qefTPYMf30vqlQickGjOOdCog9rw ZCBv5oB9K5GVDImM+ZSho0XyHRZuku8TAyYD4cDGKH7RLo+Kkp3bD08CrgYP3SvY 4dqAVVh102230tzsxCs5skfLm/PRxYVKoj6Pobpb/4vtzSOl3GTaFyQ7sSazGsiY 4QWA7f+PIUSFCSNwxM4Npwk9xBPrPm8gC/OziRfdIszAWUVu35aCEir5lEj+EmTn fNDTfm58v3r4W9SZOdRaFfddrC01JSDYJuaYXrS98ileCLRCuRvQJMCYEi/tjtpv og/hk7HCZMmYwqBiXbOrFBtj+2NYfJYprWOFbmX4VvcaobIPnvM7zrv13OmbsHoK DM/KX7Ko =Zaak -----END PGP SIGNATURE----- --=-=-=--