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 cOdSFjP2L2QdWQEASxT56A (envelope-from ) for ; Fri, 07 Apr 2023 12:53:39 +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 yKBAFTP2L2QENwAAauVa8A (envelope-from ) for ; Fri, 07 Apr 2023 12:53:39 +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 D2B0831939 for ; Fri, 7 Apr 2023 12:53:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkjic-0000t9-V6; Fri, 07 Apr 2023 06:53:22 -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 1pkjib-0000sQ-8E for help-guix@gnu.org; Fri, 07 Apr 2023 06:53:21 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkjiY-0008KD-Ox for help-guix@gnu.org; Fri, 07 Apr 2023 06:53:20 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-2ea58120085so266916f8f.0 for ; Fri, 07 Apr 2023 03:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680864795; x=1683456795; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=71w6P+KaZsotkqobGQBwMkBRcW0CZuUIxk+NSxQmreY=; b=kbfAldC+8pk5+HYP3s2S7Bmq7q4wDJValVM8xtzMEIdJdqNz16FkODNomoSo051OqT LaN8L+fSNWTPZ+Z3a9avHrUyGSzeePz+3XieejUZmswy+7BqbkCJh73RlgzAnoj2Yq/3 XseDs4FU6iueeRbR6G0ArNujYo28m0ogUCB1Y7DAaInd+Zqb/9sMNpL5h4eH3obH7prE 5LkFsaux685C/UQ4/4WiXRm7APBWHCDeEwcUA6DuPegXwr0A9beK1RqE0SxFb13Qdw92 K3xUUSUXjJOrCDkIJv66yTvcKahLBpWiQPiBli/YzWvrlLlgmgXWLTwOOqEMDFDga2hc 5NBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680864795; x=1683456795; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=71w6P+KaZsotkqobGQBwMkBRcW0CZuUIxk+NSxQmreY=; b=kCZHpTKP9/Gk+e55lArO2YKYDjNmC7EWnZ5lxL0i4fvxIXpLEKgVmnaWuXa3D6oRiX rdWPUFA3AE64oKJN6BDHKVNEC/0qnWZO+MXCB/yx8tUGd9QdKHwyW1GiYtpd4HK1iLg8 r9XJlF50fngnW9hIJ4wvfyFmAM5Ht66sNxb194URxVXbdKSM2NC3bXQneYJmExJcSoKg YGWqToWDs4WGlZTwILdM3pf1f3IpnO5329Dlo1u+mPIVSmy2NEtMKFKE06d8uXi42qvJ HTew6FZyS61A5eYXU9nCHf9MbqS3hlO6gmhWONbb+n/gjkZxP2ERPnVFM5opTxUpCWwH oxLA== X-Gm-Message-State: AAQBX9f9iNb5SzL2oVJBNeFZdvgX1EO7UISgxg+VNE65tEspo1Nt2PKe vOXB4ovp7kCMjM92X4j4Uaza7W6WGBE= X-Google-Smtp-Source: AKy350ZpoS110BwG8MXgMiuCsA5q65wZ5CeK9SmEg5Qa9adrApRxcpTOKtEdf1j3CQkFQIvm7dpowg== X-Received: by 2002:a5d:6a4d:0:b0:2d8:ce83:5ddf with SMTP id t13-20020a5d6a4d000000b002d8ce835ddfmr819122wrw.6.1680864795013; Fri, 07 Apr 2023 03:53:15 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id r12-20020adfdc8c000000b002d1e49cff35sm4289597wrj.40.2023.04.07.03.53.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 03:53:14 -0700 (PDT) From: Simon Tournier To: Rodrigo Morales , help-guix@gnu.org Subject: Re: Newbie: How to debug my custom packages? Is there something like Emacs' edebug but for Guix packages? In-Reply-To: References: Date: Fri, 07 Apr 2023 10:33:46 +0200 Message-ID: <87y1n4ks5x.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x433.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-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=1680864818; a=rsa-sha256; cv=none; b=Xj0nInUa1EV1vb4CAx8NPW+Uyz7XqobANbBlX7NHcE7KKuwm4BV+eUCK0PeKIWzPW1B7P9 8CzaohlCFUFC11M4VQq2rd+mJ2qosZgnyFE8sorwqdF9jd+sYrbcgO+8FtX/gpjWzrjVZN hENr0WwKMpM/IIXF1k++AtIAkHQTca+Os/IVtflkFDmLlKYnowZ8EC3O+53uMIlG0LvZZb 6Y4o3TSphCgzLmpAgICBwA6xTkJQNxrH1MTZWte6UqN5qPihrEMLrRSoDDlaJBr/GsKVMH NhH1UIBk7cgUiM9XeQTrLmstEKYOF4/zlExwFsS08pEtCjVofWVI9rHKC3qbZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=kbfAldC+; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680864818; 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: 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=71w6P+KaZsotkqobGQBwMkBRcW0CZuUIxk+NSxQmreY=; b=gFOStNMIa6jFi50W4npjJenMwMhtGX74vHAeC6Sn6zk3ODal97rmVPWpRoaGw5N+m8s/Tm fwVtAhA6UiNi6fORUlHAkVlMINn1pa+vYaLiZvUac3202OJ3hdjDONsuHC0Gp1EqdKBDrj YcTah6g62gYj929MpQqBz7R/Ym7FKYgegLmXTtV9sLABK/J8hj0ifAicDipGuToGC3NHeO 96BuF2f2xBPC6i3BbdpZ939uI8q8myY4qp9yz1X6obvBEcioUaY+Ax0v243p/527v8XW/Z +pJknW6LPd42RtapyUcMCF5hV3vpi12URmpipm+g5etHg1bA4Sj7j5gz7EnNaA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=kbfAldC+; dmarc=pass (policy=none) header.from=gmail.com; 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -5.45 X-Spam-Score: -5.45 X-Migadu-Queue-Id: D2B0831939 X-TUID: 7SiHUlEOdjAm Hi, On ven., 07 avril 2023 at 04:20, Rodrigo Morales wrote: > | (build-system trivial-build-system) Please note that the =E2=80=99trivial-build-system=E2=80=99 is the less tri= vial build system. I think you need =E2=80=99copy-build-system=E2=80=99 instead. Roughly speaking, using this, mkdir path/to/test/folder edit path/to/test/folder/rime.scm where rime.scm contains the block you provided. Then my trial-error loop looks like:=20 guix build -L path/to/test/folder rime-wubi-8105 -K With the option =E2=80=99-K=E2=80=99, it keeps the temporary build under /tmp/guix- but here it does not seem very useful. Last, you can check with, --8<---------------cut here---------------start------------->8--- $ tree $(guix build -L /tmp/foo rime-wubi-8105 --no-grafts) /gnu/store/nqc3sfndq6665d0lfrb3h6j58d559j6a-rime-wubi-8105-1.0 =E2=94=94=E2=94=80=E2=94=80 share =E2=94=94=E2=94=80=E2=94=80 rime-data =E2=94=9C=E2=94=80=E2=94=80 wubi86_8105.dict.yaml =E2=94=94=E2=94=80=E2=94=80 wubi86_8105.schema.yaml --8<---------------cut here---------------end--------------->8--- Hope that helps, simon