From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aCemLiBPQGQzTgAASxT56A (envelope-from ) for ; Wed, 19 Apr 2023 22:29:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GNF+LiBPQGQ0GAAAauVa8A (envelope-from ) for ; Wed, 19 Apr 2023 22:29:20 +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 6159D3E94B for ; Wed, 19 Apr 2023 22:29:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppEPu-0008Hg-F5; Wed, 19 Apr 2023 16:28:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppEPs-0008HE-Qn for guix-devel@gnu.org; Wed, 19 Apr 2023 16:28:36 -0400 Received: from forward500b.mail.yandex.net ([178.154.239.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppEPo-00068J-Uj for guix-devel@gnu.org; Wed, 19 Apr 2023 16:28:36 -0400 Received: from mail-nwsmtp-smtp-production-main-91.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-91.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:2991:0:640:bb47:0]) by forward500b.mail.yandex.net (Yandex) with ESMTP id 7E4745F25E for ; Wed, 19 Apr 2023 23:28:26 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-91.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id PSkDanVDZ4Y0-GfTKI1Wn; Wed, 19 Apr 2023 23:28:26 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1681936106; bh=kXxGf0MAGs+cMxKQAo0RMi9rT3Cpaw71kiNNGmWNenY=; h=Message-ID:Date:To:References:In-Reply-To:Subject:From; b=Y/2T0NNiZBgVaXd4bwgdL4j7sM2gOgGFlADp5u+92AhVKyvxE8Nhvn6b1hYz+60tV 2ItnqAxYDrfLaQfkSX+4Wc9PilKx/DFgyn7aMHNjl8KOm0WCuoyiXBLj2OEr32LTeS G+foOc1bCVRIfSaYTAfgtf8PEqNGmnD+ctTQ+SCI= From: Ivan Sokolov To: guix-devel@gnu.org Subject: Re: Help wanted: search paths for Erlang and Elixir In-Reply-To: <87y1n1n9pv.fsf@ya.ru> (Ivan Sokolov's message of "Sun, 09 Apr 2023 04:08:28 +0300") References: <87y1n1n9pv.fsf@ya.ru> Date: Wed, 19 Apr 2023 23:28:22 +0300 Message-ID: <87ttxbvcpl.fsf@ya.ru> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.154.239.144; envelope-from=ivan-p-sokolov@ya.ru; helo=forward500b.mail.yandex.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681936160; a=rsa-sha256; cv=none; b=HZ798hCt4FkATgtkgs69RMstAvuASAwBLw4lADF4wpd8KlP5AK/PSbBSBYt2qlopkZ3WV3 /9whVcYVd374dbZIuNaJErkstks7USiUop8Mh7AVm4bXIn5uPn85ShqXWAOMl+haXqrhdv Vls4+IK1Fx+ZcLQFrIQZRXz4t9acBIlwYjg3S1jgIPzXSrPldFhzGUr2F0meHoliNe5Tfs p/nyhbrBVpOBuumeT+dT9tLgtEJFl344zgKaH3+6Ly1k6MaCt1oshHXeLVd4Sc6j0QY9Ic 1po6OqIg2qCmCpovkdq7g2vqMHAWfTf+aYhORu/vkn5iYcArSZjiYF2ANkBdxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ya.ru header.s=mail header.b="Y/2T0NNi"; dmarc=pass (policy=none) header.from=ya.ru; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681936160; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kXxGf0MAGs+cMxKQAo0RMi9rT3Cpaw71kiNNGmWNenY=; b=oEr3B2pSrj1nemo7ZKE6MYzS/4e6CvsuhjPYgVpz6O/Q1W40R6f7lPtyPTzX806RbSKAMS KKatxM0782jRrUBTBV6nlPnsuhR4NH+dhks+7B+h8EKKXMq5mK9JutqodisUU+QBaHeFfG SYUBLrEs4vD+vU7VF7T6uUW+Fk64kSdp8nXXXKc8AkeWgmOXzzbBS83bUIrxa+ebNwIdSH qAUW4nnfQlE8mLJfKOI1RtwwtK1e5zBInNPCgZOwNacIq6mmX1Q5J2I/TgHWBVjCat8kdq mysjzssPmOJZ/lHchHGwaJAtaAxRPy7tDUgx98eilgPhMVavDJMXEnC8E0GjWg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.50 X-Spam-Score: -6.50 X-Migadu-Queue-Id: 6159D3E94B Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ya.ru header.s=mail header.b="Y/2T0NNi"; dmarc=pass (policy=none) header.from=ya.ru; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-TUID: KXWRLOLDUppq Ivan Sokolov writes: > In order for the Erlang runtime to find the installed application it > must appear in the load path. If there is ERL_ROOTDIR in the > environment, erl(1) will search for application directories in > $ERL_ROOTDIR/lib and will add them to the load path. ([2] mentions > $OTPROOT but it's probably an error in the documentation.) It turns out that OTPROOT is not a real variable, but a placeholder for the Erlang installation directory, and ERL_ROOTDIR is intented for internal use only. Thus ERL_LIBS is the only option left. > [2]: https://www.erlang.org/doc/man/code.html#code-path