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 ms5.migadu.com with LMTPS id iNRvOF9O6GJJmAAAbAwnHQ (envelope-from ) for ; Tue, 02 Aug 2022 00:06:23 +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 6OhpOF9O6GJuHQAAauVa8A (envelope-from ) for ; Tue, 02 Aug 2022 00:06:23 +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 8E7C643E16 for ; Tue, 2 Aug 2022 00:06:23 +0200 (CEST) Received: from localhost ([::1]:33550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIdYM-00079L-OI for larch@yhetil.org; Mon, 01 Aug 2022 18:06:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIdXc-00079D-Iq for help-guix@gnu.org; Mon, 01 Aug 2022 18:05:36 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:52758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIdXa-0006X1-DS for help-guix@gnu.org; Mon, 01 Aug 2022 18:05:35 -0400 Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 271M5M5q031140; Mon, 1 Aug 2022 18:05:27 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 271M5M5q031140 To: Tobias Geerinckx-Rice Cc: help-guix@gnu.org Subject: Re: Guix as a native-inputs ? In-Reply-To: <874jyvofwl@nckx> References: <87fsif2473.fsf@laura> <874jyvofwl@nckx> Date: Mon, 01 Aug 2022 18:05:22 -0400 Message-ID: <87czdj1uxp.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Mon, 1 Aug 2022 22:05:22 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: 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" Reply-to: Olivier Dion From: Olivier Dion via 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=1659391583; h=from:from:sender:sender:reply-to: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; bh=XMnkG1wn7Flo0vZ9YfQqs2UWlm0REiyCA6pRNNFS5Bs=; b=Dus/ezIDQ7EAc6hm+jvUR27HNfyCtZR2M2yY1lj+595WOE2MFrBe94BCt1VU3qxTdURt/L qJAa3kHVqVdm9MgoGFwwIoBpsovho7A0Zp4pZxsvZ1P3cWLJxgGpb7ybgOCPeRVL9cjshY j1YdSB4FjFy6a0U0eq5Sl/F9qsRtL14R8eTHfWsfTTf4HpUfh5TKsE5HuMMFSDTOSqSV6r 7HKahvx1IDANZd6Oqz5sBQdnKMESH8x9FssjmsC+l7AKetEPwwfQKNMQhOReORtBpXKn6A Hu8z43jezktVmLOUiYhgbOsUQUWqm2EPk2koMGbZsi4+1DI2dDYH01p6F4q25A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659391583; a=rsa-sha256; cv=none; b=qpZ/jzaSfc0HWcX4Ezws/Qz7UFi7c2eClyEf3bG2OVkyDZgqhg0tzJj0wgX4Z7bXA1iBcl QdW9ENZv2IbY+5YMiO1KKeGu0oNCZqvp2LaOOKv6WfnPUJhbdPXEvOw3zqRn+jmvT9ZG71 fKzN4LwAQnOkwBh8JroV2/JSHsP0BAzA5Kck1OX878F4iJbv4QiPvyxH0gKAh+EIKQrwJ8 d8TAR9MG0TpGnarSFUJrVdWsk7qR1YqUBiqFdCYZuR8XBU4w3CNueU6Bq6eIa8CYtWjbX1 svBG5ti1X2g526Wi4mxvUA9y9iv1tBep+VkKj3WfmfBjqRdtDF1uar+O/66SBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.52 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 8E7C643E16 X-Spam-Score: -2.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: QXnKOb/mHssA On Mon, 01 Aug 2022, Tobias Geerinckx-Rice wrote: > As ( implies, it's a strange thing to do. There might be a better > solution to whatever your unspecified problem is. Here's my full use case. I do dynamic binary instrumentation. I basicaly insert call/jump at runtime in programs for executing callback. I use Guix for its workflow extension (GWL) to produce scientific metrics for my research. I also use Guix to run binaries in a profile with debug symbols available. The latter case is a stress test to see if the instrumenter keep the integrity of the instrumented software. For example I want to instrument `ls' from coreutils. So I would need `coreutils' and `coreutils:debug'. These _could_ be added to the native-inputs of my package. However, I also want to test instrumentation on many packages (~50). These other packages lack the `:debug' output that is required by my tools. Furthermore, I don't want to add a very long list of packages to my native-inputs and maintain it. So what I do is that I have a Guix channel inside my project. Inside that channel I define all the packages that I need with the debug output added. I can then use them for testing like so `guix shell -L .guix my-git my-git:debug'. If you think there's a better solution then I'm open to heard it. -- Olivier Dion oldiob.dev