From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UBe9CIf8RmJQXAEAgWs5BA (envelope-from ) for ; Fri, 01 Apr 2022 15:22:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aDoHBof8RmJa+gAA9RJhRA (envelope-from ) for ; Fri, 01 Apr 2022 15:22:15 +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 C54F0367A8 for ; Fri, 1 Apr 2022 15:22:14 +0200 (CEST) Received: from localhost ([::1]:48380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1naHED-0006p2-Qw for larch@yhetil.org; Fri, 01 Apr 2022 09:22:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naHDy-0006mg-O4 for help-guix@gnu.org; Fri, 01 Apr 2022 09:21:58 -0400 Received: from [2001:4860:4864:20::31] (port=39862 helo=mail-oa1-x31.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1naHDx-0006ta-3Q for help-guix@gnu.org; Fri, 01 Apr 2022 09:21:58 -0400 Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-deb9295679so2650798fac.6 for ; Fri, 01 Apr 2022 06:21:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kkJo/lyZn2EmY13pM/M4oIGTOGkAUUEpqo1j8QWJ8nU=; b=L3u7+DlXOdpkoMoFzOP2tsHbegf1n0HH2mLlTtpNGNRYE4d2aA/HGW0CSCTJcmfRxs pbpszphhADG5fJKT2amQCo9ahZBBqEuEejh+LLerPysmqg2d6xohe+na6UcOf3wF8mD2 yDidr0YwGSM0gEAYHbmdY/bnA9OG5yg5i7ypxim09ny2h7vXHCrtnbDkr3mIs6OtIbrq 80WVvj2Xml96FSQk492ZZnSMtdltrRXnqrC3w+ngWTNcW6wDX3apumULjw1x3OHzYRDc JqDCx9ApQG2BDTHc89FBuc9ORHj63TRySpa0HPavjrEPyTz7F3UOUd6RyQtnb0LXcXwy hQxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kkJo/lyZn2EmY13pM/M4oIGTOGkAUUEpqo1j8QWJ8nU=; b=pHf0MRnDkBMD1uxDeoKYtdmv/nwqn+8utAbpWl8Q0A1OzY1nRHI4WQVUNVeu51KiFj cnwghHGxfNmhVdh2MC17zGPMIAKupFMhCBvqokSKNG+TYdgTS8mMY5Xku3tbxorgas6C yakUjqst3UE9mcQSruUE5ZoY/2SNi54a8GD9CCSzWmPP9g5SElcm3pkj21ik/7rTq4q6 P57ZkzzvBuAKUGZGxH88BwicPEL70sAgH9k55s8Z+N+3khsVhmaGZMCoVgcmr3cLID1R tyC5oo7/v+NwydvhbKWGQOitvllc/J+MFtx+0md0tnP4D/Cqm55F9wrHgAKlxd9rrg5h xQUw== X-Gm-Message-State: AOAM531k5YUb760blvxzaC+XRLMPoxVXasLYB7DGhnBMhIqSxcm4sTvZ SnVxJRWaY1svu4hgyuzOgxI5E8Nq7OQnBFguIReIT5gh X-Google-Smtp-Source: ABdhPJwSLS4t5WJ0xBhllk7uzwfCjew5KYyNKW0RdiNIOFhE95H9d932vzxI7QrhNx2228GGt+TfhJSSXI69cT+Y2hk= X-Received: by 2002:a05:6870:ea01:b0:dd:a903:9597 with SMTP id g1-20020a056870ea0100b000dda9039597mr4787852oap.169.1648819315948; Fri, 01 Apr 2022 06:21:55 -0700 (PDT) MIME-Version: 1.0 References: <6e558ebc30c58558772c22ffb267643f3dedfc3c.camel@ist.tugraz.at> In-Reply-To: <6e558ebc30c58558772c22ffb267643f3dedfc3c.camel@ist.tugraz.at> From: =?UTF-8?Q?C=C3=A1ssio_Tavares?= Date: Fri, 1 Apr 2022 13:21:19 +0000 Message-ID: Subject: Re: Packaging existing software for Guix To: Liliana Marie Prikler , Vagrant Cascadian X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:4860:4864:20::31 (failed) Received-SPF: pass client-ip=2001:4860:4864:20::31; envelope-from=cassio.ufg@gmail.com; helo=mail-oa1-x31.google.com X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 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, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" 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=1648819334; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=FKrdP7Mqsc7wTitSJ/XF2CYFy6ypVanBzPeQDAzAOpQ=; b=qqK60DfhkZlr1xVWS9iIcbO1ntA/Hu7Abdlvf09s3zGlMO7ze7DvP6zOBfKZd7px7Ko183 TXl2mbca3Ufh8ZRm9rRzlHqDOMkrVj71AzJtytIHvY9Cp4Mdy7ryKdP2d8uZDnZrphnjQd s32MMJBsJ7wYLHSCat7WB1mR4/tbd8orc9EfxKV9MOHKDoOzUcE+ocKQzzi4M++MBl4gy8 MJHHg/f+LNnhOfhanNPaoxLJ0Xkz/qDAL51tWTwAj4YwzqQIN1cAWLf7v9J5WMrw/AmVbv EQb0X1eZbfkAZFYQWzpZi4Q9P1M/oEGIHqI4IXPmXKWL16yTw65i53wbEPT9yw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648819334; a=rsa-sha256; cv=none; b=qIrBWe07vQDKPb704Vss0lZi0b52wLhvZkBgoMu40uki/x6XWx1B3BNLqJdA8PIR9lqkFk f0G6lrMc6oWCZXBACAzmznFhOiHNeWO7hrdn2mwPbDwIn2XmYtDCy/V0knLL6ncuvoOwa8 oTY8sIrL7187Y9e83df4yA0PnxpL6Mk/zXHqwfZx8KqspZEk3eKBQtBVC00x4oLFm2DbW6 XjQQMMV5uZin5zuwDj3pfywuJsESSJzitPEOPC9uDJSK07pAP6mEoGOBfmmDy35xO9BkF6 tg54mWRfWqjTmxRQbBHS8zwTLSyZ6JYbBy7OyrG6aATu6RN02qEKIy3/L3eB0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=L3u7+DlX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=L3u7+DlX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C54F0367A8 X-Spam-Score: 6.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: UePuI5cOD6+Q Thanks. I followed the paths and found the corresponding modules, and I think I get it: it's just a way not to hard-code the root of where the `mes= ` code lies. But then, it seems to me that @Vagrant Cascadian is not correct when he suggests that this code enables the build system to checkout the current git commit, because there are still version specifications in all the `define-public` statements within the actual ` mes.scm` file. Am I correct in this assessment? Thanks, C=C3=A1ssio ----- Faculdade de Letras - UFG *=E2=80=9C* *Ou a gente se Ra=C3=B4ni, ou a gente se Sting**=E2=80=9D* On Fri, Apr 1, 2022 at 6:26 AM Liliana Marie Prikler < liliana.prikler@ist.tugraz.at> wrote: > Hi C=C3=A1ssio > > > OK, I checked this scheme file, and it's just a four-line program, > > but I don't get it. So, help me here =E2=94=80 what is this *=E2=86=93= =E2=86=93=E2=86=93* `mes` code > > actually doing? > > > > > This line gets the name of the directory in which (current-filename), > i.e. /path/to/mes/guix.scm lies. > > (define %source-dir (dirname (current-filename))) > This adds /path/to/mes/guix to the Guile load path. > > (add-to-load-path (string-append %source-dir "/guix")) > This loads git/mes.scm from the load path (see above) and makes its > public bindings available. > > (use-modules (git mes)) > This is just a variable, probably exported by the (git mes) module, > which should itself be a (package ...) description. > > mes.git > > Cheers >