From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ePO3MTyh32KzMQEAbAwnHQ (envelope-from ) for ; Tue, 26 Jul 2022 10:09:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uGNsMTyh32J6IAAAauVa8A (envelope-from ) for ; Tue, 26 Jul 2022 10:09:32 +0200 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 88BA7C8C3 for ; Tue, 26 Jul 2022 10:09:32 +0200 (CEST) Received: from localhost ([::1]:49600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGFdD-00041G-Ch for larch@yhetil.org; Tue, 26 Jul 2022 04:09:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGFcp-0003zS-Cy for guix-patches@gnu.org; Tue, 26 Jul 2022 04:09:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34180) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGFck-0003Et-IM for guix-patches@gnu.org; Tue, 26 Jul 2022 04:09:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGFck-00081E-Cj for guix-patches@gnu.org; Tue, 26 Jul 2022 04:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56777] [PATCH] Use absolute path for home activation script. Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Jul 2022 08:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56777 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56777@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165882292730800 (code B ref -1); Tue, 26 Jul 2022 08:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jul 2022 08:08:47 +0000 Received: from localhost ([127.0.0.1]:52162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGFcU-00080i-Tu for submit@debbugs.gnu.org; Tue, 26 Jul 2022 04:08:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:36910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGFcT-00080b-8t for submit@debbugs.gnu.org; Tue, 26 Jul 2022 04:08:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGFcT-0003yc-2u for guix-patches@gnu.org; Tue, 26 Jul 2022 04:08:45 -0400 Received: from relay1-d.mail.gandi.net ([2001:4b98:dc4:8::221]:36003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGFcM-0003Dc-Js for guix-patches@gnu.org; Tue, 26 Jul 2022 04:08:44 -0400 Received: (Authenticated sender: andrew@trop.in) by mail.gandi.net (Postfix) with ESMTPSA id 25A7F240002 for ; Tue, 26 Jul 2022 08:08:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1658822910; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=MhmXPr+aELpAnlFHdmo1Ljrh9cdSQyFJgOFw3cp/GiE=; b=Oqb5pHuwCZssRViwG5APggPDRDmHA0gnSPUVLloqgDJcas2pwUlzh9jhTWe/VSkJR0CYBJ V5nuQRhH29fL8moEyu+fXmJ7VAclgDYPZr7l/98rjq/4cI3aY0rYvVq7zVQ9L7BM77KJZr 1l4Le92ViDQSrp3DbANNx8UMaIT16aumuravpEvOTIdAtysJznVHf5UwN1t2622FiGuuU1 JjW1oZhgATEPYpO/fUZjtCWH1aAqkWc4Yfqry8I7g/mprcj1RBnevEGv8ZmayReqnhI/qX 3AqON15l5ec4NBGeH6ZXtDVBd/n/2N958HeD7d6tVEnzsv4Kh3eeFTS0IZ71Bg== From: Andrew Tropin Date: Fri, 14 Jan 2022 09:16:32 +0300 Message-ID: <87tu74z479.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:4b98:dc4:8::221; envelope-from=andrew@trop.in; helo=relay1-d.mail.gandi.net X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_96_XX=3.405, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658822972; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=MhmXPr+aELpAnlFHdmo1Ljrh9cdSQyFJgOFw3cp/GiE=; b=kI9NsIWmVRMrw0H8rKxzCBf7rwwi2ErG4g3CjKDZIFe/I0pW47cIjqa2RPEsSAAU/Ta1IV M30goeY3R+nyYJpNWHLrv6SISzGEYyhcXPBe7CchNqhRmFwWcMOZbsWbeLOXMhjG/MBXej XlVTnke7Py7m9E7uiPsbSywRUo1oMe5rBZFzXVMOD9kokIAJfR2JtGqUaX5lmvd/3/FbDR 49ts++XKza3+JrhXZDyLVT7H0x02177r8KaJlABfuPBbzaFxkIxFqpLktD1i/wJZyDt7Rp lppR3eAy075CdVmgjCpAcDhYhXO6Henz9Fv8kkbFGARuebb4vHEdudiXUAgCVw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658822972; a=rsa-sha256; cv=none; b=VeprOYZW1ufvOD8E3ZeIe5BXJDaWrH/xtPz5JZpciBbANk4JilZgvG4tQ1eUZ0py9YqG2P rvQX9dd/Td+bW4tFm+mGuKyIwZFjMMlWSQl5sRVGboYK4/ml3hkhXJIzfimzyYgDhgxKlr j5iu8z/9HRxuEvm6tvzp30aQuyF56RxpdROT8FyeqsOPpPoTCjSr7PSbV5sOGZHb5luGCn aFxa7sLHS/KcOB9yh6ZUDtVgFmjBU391gf6N+gx9eTFhx0IEOE7ojNKyWW71Kwb/ycnryP DtSEUAVh+RHiD6sCg9LJBNZq9VjbGWe0vFx9HGfOvEAjyNuqUQQ+RV8pIuq2MQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=gm1 header.b=Oqb5pHuw; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=gm1 header.b=Oqb5pHuw; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 88BA7C8C3 X-Spam-Score: -0.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: lF4pibmSw0yM --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * gnu/home/services.scm (compute-activation-script): Use absolute path for home activation script. =2D-- gnu/home/services.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/home/services.scm b/gnu/home/services.scm index b05ec53e2a..6d5e4308a0 100644 =2D-- a/gnu/home/services.scm +++ b/gnu/home/services.scm @@ -418,7 +418,7 @@ (define (compute-activation-script init-gexp gexps) (new-home-env (getenv "GUIX_NEW_HOME")) (new-home (or new-home-env ;; Path of the activation file if called interac= tively =2D (dirname (car (command-line))))) + (canonicalize-path (dirname (car (command-line))= )))) (old-home-env (getenv "GUIX_OLD_HOME")) (old-home (or old-home-env (if (file-exists? (he-init-file he-path)) =2D-=20 2.37.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmLfoPoACgkQIgjSCVjB 3rDtTA/+Icr92AcMQPhA+JwYCyC3P6w/v12tCTerGWodNzRk1m42y35KpDY2QUfc hvOz+Vb5w+VJZALcC/iPcB1Hp2Hrnf5BoMEhtin1XYZ40nx4yh5kUXde5qdkuqxT xkqHzoJ4JjjQHeH1ZCTyvLlLRP/THuLY5OxSjUvpf4lrzULnd4GpMNbFcYdyqWTq YWjxvZEfwHf0C/jYZZ3dqWDoTPVdb40f0K5jGqIYrdlmdBsvR4qQJGpMpxD3XlQK Gl9Tmm5rZ9aDXBXwCCk03QPnkvYlP9olCfvuYLwUE84J738979hhCfyUDn2kS1zi xvLlU0cXxNMoayNRtopZ1r346Oc4oKbIKohS9xWc6z8NhhLie+51MXrBVax2zqbD j00Ol2Mn0hetbrNfGgRPqLEqlPQbkswDuC3khIuhUsEAjEoVKKj6qIMAa5aDKPoC buGN2rHxMWe2/pAMaJyde8mnUnW6HXwv3ljrfMkKQJVpfZ4IWuswKlVApOz6m1Xw G+lIkfVX55rJWBArVpQYDLRNh5zf9z4K9IyxsMMB4a7utC+7nhhSLXz5mzp3EWO+ FAGYxOKQ7StRAcSGot/USgkcV0YIpfFjXVbqtIO3bjuXNqbob3augBeUGlDF9+uf gs/X1DVToctvU1XQA5zTUQvYmorEIyfonagpFWsZ2GAbXMU+hqE= =i8pA -----END PGP SIGNATURE----- --=-=-=--