From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oET+K+Mm4V5BeAAA0tVLHw (envelope-from ) for ; Wed, 10 Jun 2020 18:30:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wPrbJ+Mm4V4iGgAA1q6Kng (envelope-from ) for ; Wed, 10 Jun 2020 18:30:59 +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 18D769400B7 for ; Wed, 10 Jun 2020 18:30:58 +0000 (UTC) Received: from localhost ([::1]:37310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jj5V3-0002xy-RB for larch@yhetil.org; Wed, 10 Jun 2020 14:30:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jj5TC-0001s4-NP for bug-guix@gnu.org; Wed, 10 Jun 2020 14:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52023) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jj5TC-0007dA-Ak for bug-guix@gnu.org; Wed, 10 Jun 2020 14:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jj5TC-0008BD-7d for bug-guix@gnu.org; Wed, 10 Jun 2020 14:29:02 -0400 Subject: bug#26848: Status: procedure resolve-interface finds no code for GUIX_PACKAGE_PATH modules which are otherwise working References: <20170508222419.xmrhxru4e56gwvsr@abyayala> Resent-From: Royce Strange Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 10 Jun 2020 18:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 26848 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 26848-done@debbugs.gnu.org Mail-Followup-To: 26848@debbugs.gnu.org, royball@disroot.org, ng0@pragmatique.xyz Received: via spool by 26848-done@debbugs.gnu.org id=D26848.159181372731418 (code D ref 26848); Wed, 10 Jun 2020 18:29:02 +0000 Received: (at 26848-done) by debbugs.gnu.org; 10 Jun 2020 18:28:47 +0000 Received: from localhost ([127.0.0.1]:35334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jj5Sx-0008Ag-Ly for submit@debbugs.gnu.org; Wed, 10 Jun 2020 14:28:47 -0400 Received: from knopi.disroot.org ([178.21.23.139]:59276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jj5Sv-0008AW-1X for 26848-done@debbugs.gnu.org; Wed, 10 Jun 2020 14:28:46 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 971B456588 for <26848-done@debbugs.gnu.org>; Wed, 10 Jun 2020 20:28:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id akZlYzo-e3KL for <26848-done@debbugs.gnu.org>; Wed, 10 Jun 2020 20:28:42 +0200 (CEST) From: Royce Strange DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1591813722; bh=EAfpOVh22iiyv4e5ooDdKhoCNmQ/y+z44qSYZKH2R/A=; h=From:To:Subject:Date:In-Reply-To; b=CRTIeC9auWVQ3AeOXOlwPV/71kY1qAwGXkNQrDbnKozychiWY3ux9w84d9sI8/l4v KcL3fBIRMsgpzYcZ5CcQdjpiZDRKETe2+G/OVcTRFPSwvqc8HEIjkT6TqA4nlcfn/v i4MBs7U9RHQbvesAfFEkaHJU0j3jb2IZnnwuhEliAblfOQYbUKU2HAfD7iMxICDdQO D4l+UP4IywJuXw9okmWUDMkdJqUP98d4D8Ephye+ueH/wtBtWFWTBUT9xqDkWI2twu pNIYj30c0nyKwWKiv7LA8gambvV90Re20q/+awvxKcJZ8H6Qi61drNCIDnR1HqBWkg EeIbgnr7goHbg== Date: Wed, 10 Jun 2020 13:28:37 -0500 In-Reply-To: bug's message of "Wed\, 10 Jun 2020 17\:34\:30 +0000" Message-ID: <873672vkq2.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=disroot.org header.s=mail header.b=CRTIeC9a; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disroot.org (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.59 X-TUID: GyqdTRbQ4WG0 Hello. Alex Kost's suggestion to use "sudo -E" for system reconfiguration=20 is what is needed when setting GUIX_PACKAGE_PATH in a user's environment to use personal packages. >From sudo's man page: ----- -E, --preserve-env Indicates to the security policy that the user wishes to p= re=E2=80=90 serve their existing environment variables. The security policy may return an error if the user does not have permi= s=E2=80=90 sion to preserve the environment. ----- Verifying myself (as I still need to switch to using channels): ----- $ guix --version guix (GNU Guix) 2971ed57345ee4e00058efeaf27c6a0790fdc9dd $ env | grep "GUIX_PACKAGE_PATH" GUIX_PACKAGE_PATH=3D/home/royce/guix-config/.paths/my-packages $ sudo guix system reconfigure my-config.scm=20 guix system: error: failed to load 'my-config.scm': ice-9/boot-9.scm:3300:6: In procedure resolve-interface: no code for module (roy guix packages emacs) $ sudo -E guix system reconfigure my-config.scm ... guix system: bootloader successfully installed on '/boot/efi' To complete the upgrade, run 'herd restart SERVICE' to stop, upgrade, and restart each service that was not automatically restarted. ----- Going to go ahead and close, as it has been three years since it was suggested,=20 and the fix proposed by Alex Kost works.