From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2BFNCi+kJ2IqVAAAgWs5BA (envelope-from ) for ; Tue, 08 Mar 2022 19:45:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AF2IBi+kJ2JjYwEAauVa8A (envelope-from ) for ; Tue, 08 Mar 2022 19:45:03 +0100 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 BE7B8393A3 for ; Tue, 8 Mar 2022 19:45:02 +0100 (CET) Received: from localhost ([::1]:40482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRepR-00049t-EU for larch@yhetil.org; Tue, 08 Mar 2022 13:45:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nReou-00049f-Gf for guix-devel@gnu.org; Tue, 08 Mar 2022 13:44:28 -0500 Received: from [2607:f8b0:4864:20::d33] (port=41803 helo=mail-io1-xd33.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nReos-0007Pr-QU for guix-devel@gnu.org; Tue, 08 Mar 2022 13:44:28 -0500 Received: by mail-io1-xd33.google.com with SMTP id k25so71958iok.8 for ; Tue, 08 Mar 2022 10:44:26 -0800 (PST) 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=SSNS09VbSxbc8PRvYJ4DOvSJgfMHEBYxjg1rpA0lBVk=; b=OHSNneRBvOdAlEuohPCNxmzRRFNE+KRCPEta2niNNKhizav+kBJGwmaXnaJSaNWkOC 7SMiA4YU97WcRQ+nbAGZVBr85y6e2oqctffDz+YVYEzYuiRCHqk1+VSLrzVQT5T3WEqQ gX5D+ON89o1inlveZOjcdcjvKeNBmuUSHolJ9UkJ/Z1IkCt4MBBlOXH46d/7E0YLouLc wGI68MF/7w6LDS6EXRl3/N7sEVhvWVyc9c6QvLMu4MT7ieperXv8oIOJD4dkA7VWXAoQ EhJqLqt2O3FkyjoErOrRq5ttzN3QV8uwJSv22qf497FB/m46iEDJlYz1U5avdrViGi0X YzCQ== 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=SSNS09VbSxbc8PRvYJ4DOvSJgfMHEBYxjg1rpA0lBVk=; b=IAhN7YbI7AcC6CO2KZhr9pJdd6RKTL40TBqxM6NNz+oiHb0fezrE2ZCUCGCcctq5cb X8EwwRwvP2eaPS4UH5eSJVCn3CWJaMGPCYPhyKW3Dzyj7ZxGaK534zVpWDzoJ1YNqU+G I9wP+D6X5MxpL3EG0p52UvGekS77yIsIkyQvFzNUsw0On7WzANYMRnPoPtC8fbKZ70vw beOI5/I7g1ZV3eLN5pg/u9wajZ7Lkx+CniaXMXYqbR39VP0Qbh3jXyK/VyW7AiWyd+Z4 HzW5HRmFRcs/Z1tZrc8i051IKJFi14weOLUVC/aSI1bL+t9N9F2WcrdBlkZl5kIHAJui KeXQ== X-Gm-Message-State: AOAM532OtA19NG8dJjw7LkrNEtiXVkXZeNmm0YkOz6jxDXPtkBaBoRsF gDZn6YvWk8E+u7dNhfgRMLlIx8hJzkV/mD3Oab0= X-Google-Smtp-Source: ABdhPJzXMoc8Bdd+YwGq4QtEPzE8ITxrht+l1UyR7Z/B6Kqy5Lofd1fMYfOv+SeD6RFjqqs3L25M5J/8+DUou7xSdRc= X-Received: by 2002:a05:6638:10f4:b0:2ea:b181:1d1 with SMTP id g20-20020a05663810f400b002eab18101d1mr15823057jae.132.1646765065496; Tue, 08 Mar 2022 10:44:25 -0800 (PST) MIME-Version: 1.0 References: <875yoo4eor.fsf@gmail.com> <87lexkjsvb.fsf@laura> In-Reply-To: <87lexkjsvb.fsf@laura> From: zimoun Date: Tue, 8 Mar 2022 19:44:14 +0100 Message-ID: Subject: Re: Package's inputs for developer? To: Olivier Dion Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::d33 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::d33; envelope-from=zimon.toutoune@gmail.com; helo=mail-io1-xd33.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, 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_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646765102; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SSNS09VbSxbc8PRvYJ4DOvSJgfMHEBYxjg1rpA0lBVk=; b=cGPRCJwgqaJSZ7NgJLgr/nXDsSDa8KV/enZEonbRWHBTUMn9d0M6VKv4xrIK0rNtOzzHWO WdxtA0rj9Vc6MafhkxB13N1ufHkJRbgBK9D8pqShShWWWQYVy4Gn9AQTz1vk1DoZjZPce/ S7RWP8q2WdWSRec7LCcGeWMKhtAlq6XQoRapb9mYTDMoOauM967nrzbvDS9lnLfmR2CZ5w cE2Y3VSQWWMj+Jbzv93gDAHbjai+Ax+cagMTWEvcNYE0W03hJ+363ngNSG7GDcUpax3huI p7YO0l8WLzFpq/zPRpIkEU3TwX2QcECJzG0xPXsu30H2RrKqErgt1rDUJfPAcg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646765102; a=rsa-sha256; cv=none; b=EVFegcNIeL+YVCipGenhWn+blfHm5EeDxpxgVZFERCWMKYYzs/XKT81dj1iKX9oJ1uuOwL Xj+ErtcRmnaAzjLWZQ1XuJyL5W9Cv1pKLQ4dfoZHi+El6a+c8NS9F/D+K5tHI3BA5G3Osu 1dXvtVDHmWC2fZ2Nt80GhUJeV1srNMSFnXveMEPpwJeOyNpZsSsoUoGDc18cQVn0rd6Wj5 2k4kUPnvqtk6cYzboZccGGgbOe6ZAasSGMiEwLN8aL/ABGRjXqTfGCbQ1Pq3xrW6Nu49SY /b8G8VathWYGYTq/BAGU4yM40PIrVdWQzh7Kd8C1drzTeUK9Gp/jVm8xM+pYlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OHSNneRB; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -5.02 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OHSNneRB; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: BE7B8393A3 X-Spam-Score: -5.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: BxE8FN7gSl0G Hi, On Tue, 8 Mar 2022 at 17:45, Olivier Dion wrote: > On Tue, 08 Mar 2022, zimoun wrote: > I had more a recommended workflow in mind. For example, I have a bunch > of scripts under `tools/` for compiling and testing the project within > Emacs. And they all use these developer inputs. I find this useful if > for example someone wants to quickly debug the program from source > without searching too much on how to do so. Just fire your text editor > and voila. If 'tools/' is a directory from upstream, then maybe the recommendation would be to directly add a guix.scm file containing the material for jumping in development. > > guix shell gdb lcov -D my-package > > > > and if it is often the same set of packages, I use a manifest. > > Yes this is what I also but I wrapped it in a script. And how do you > indicate the "-D" in your manifest? Well, 'package-development-inputs' from (guix packages) should fit the job, I guess. Cheers, simon