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 2D9oIKYZ0l6leQAA0tVLHw (envelope-from ) for ; Sat, 30 May 2020 08:30:30 +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 8BRIHKYZ0l6fCAAA1q6Kng (envelope-from ) for ; Sat, 30 May 2020 08:30:30 +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 100CB9404CF for ; Sat, 30 May 2020 08:30:30 +0000 (UTC) Received: from localhost ([::1]:59210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jewsu-0001MD-TE for larch@yhetil.org; Sat, 30 May 2020 04:30:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jewsm-0001LU-Hb for guix-devel@gnu.org; Sat, 30 May 2020 04:30:20 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:34085) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jewsl-0008Cf-77 for guix-devel@gnu.org; Sat, 30 May 2020 04:30:20 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 49Yvkt4bWwz1qrfD for ; Sat, 30 May 2020 10:30:14 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 49Yvkt4Vzbz1qtwN for ; Sat, 30 May 2020 10:30:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Z55KG5z2_a7b for ; Sat, 30 May 2020 10:30:13 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-51-50.dynamic.mnet-online.de [188.174.51.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Sat, 30 May 2020 10:30:13 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 8A7D360080 for ; Sat, 30 May 2020 10:30:40 +0200 (CEST) To: Guix-devel From: Hartmut Goebel Subject: Seeking support for implementing Erlang/Rebar3 build system Organization: crazy-compilers.com Message-ID: <8f5726d7-8bba-5676-6f4b-db1fcd5d1ef7@crazy-compilers.com> Date: Sat, 30 May 2020 10:30:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/30 04:30:14 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: clvLvY6wp9Rw Hi, I started working on a rebar3-build-system for Erlang packages. This a somewhat crazy idea for me, since I have *not* clue about Erlang and how it's building and packaging works. (I "just" want to have ejabberd in guix :-) Based on this, I've already made good progress: - packaged rebar3 and prepared packages for its dependencies (able to bootstrap rebar3) - preliminary rebar3-build-system is done, based on what I've seen at Debian. (I've not found a  build-system for erlang in Nix.) - basic importer for packages from hex.pm is done You can find my WIP at To get this finished I'm seeking for someone having some experience about Erlang. My questions are - How does Erlang find the packages? Do we need to add a native-search-paths (ERL_LIB?) to the erlang package? - How to make rebar3 use already build packages and not try for fetch them from a remote repo? Do we need to copy/link them somewhere, or set some environment variable? - Are there standard build targets for rebar3? Currently the build-system has "compile", "xref" and "doc" - each in a phase of it's own. Doe this actually make sense? - Anything else? -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |