From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oOPIOsE87mZRZAAAe85BDQ:P1 (envelope-from ) for ; Sat, 21 Sep 2024 03:25:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oOPIOsE87mZRZAAAe85BDQ (envelope-from ) for ; Sat, 21 Sep 2024 05:25:54 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=retrospec.tv header.s=fm1 header.b=BUxzmmfo; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="E EWWyBq"; dmarc=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726889153; 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=9miWcO2Q1trgkWUfW7/zsqtsELn+Oq/sHKBD/4NiR54=; b=EdmKfwCeoY8mSSgrbkaVBZKJBnMUHL8lIPp0b/9li5u8u6eHW1Aa8Pleoax2T1LPfp5rUm ooUd8tX0xkeqv3L0BlcW6rTCnDO28KSadHmPP5DwTcBln8wl2+waA+byyYnKG9ldp0Xxsr 3pauKeyGyNy1eTrm1jeJ0UzZY7D6dUhjxqyDyMpciljEgy5fYw6/zrMQlTASM9Zjwe99IS XCu3FOCWOCE2cnrVWuwHcpq42FrCMxBuQDtLL6gIxkdqlAzViVJYJZsoV9CRn5yLyrb14C mc3EA9BC6/JlY7bUsxN4ZJFX0KSAPhnlCdReGa2s+5F63X0AyXFF7voXxEaH/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726889153; a=rsa-sha256; cv=none; b=uJb1wf3+JWJoriDZALTcEF3vofn199t1nefwjtgRx0P6sdL5zY/vobR/T1h0rn1RoeomCh xEIfGsN9pEOqvRJkgHOKT4J45iADKLUOi+WIA2u6lmv60bNMUX+2A40eiKDUdUFqrrnIcL btiIRGvNPMGvMCEMWhZyybuK89HraC/GWu17UmfhPcSD2QKe4HEh7toY6phYrniOECHilr eAxBqK23SZVSBciw0zDQh38hw0pyguKMMfc2b+sZXE4prwbo/ilqtp/cSz/olW6DUBhgRy JRXxOVGhHaGdLUuBSY8VZQCuCwZEXo53y+UWzsRmg2lGlzjtoHQ3e7w36h+Yfw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=retrospec.tv header.s=fm1 header.b=BUxzmmfo; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="E EWWyBq"; dmarc=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" 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 13776E6CB for ; Sat, 21 Sep 2024 05:25:53 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srqkI-0005lb-UP; Fri, 20 Sep 2024 23:25:18 -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 1srqkF-0005kv-Na for help-guix@gnu.org; Fri, 20 Sep 2024 23:25:15 -0400 Received: from fhigh7-smtp.messagingengine.com ([103.168.172.158]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srqkC-00068r-KI for help-guix@gnu.org; Fri, 20 Sep 2024 23:25:14 -0400 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id 9760611401CB; Fri, 20 Sep 2024 23:25:09 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Fri, 20 Sep 2024 23:25:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1726889109; x=1726975509; bh=9miWcO2Q1trgkWUfW7/zsqtsELn+Oq/sHKBD/4NiR54=; b= BUxzmmfodPuEyobc6+8NHwQdGyZPXomseDzoN084kTdZtHg+oIZBYuzCVwk2u5Z0 2CA0QruIip1zECODLJoTW7Q5DMNhsJD12DR/aLMu+J/EXnScoVjlrVJzTQ8vJon1 HkJaRB6aSYOzCd4FMQ+SH4YKRyxPIr8Pk7jSX3jfjQBDdJHs0SQHUmwAXMk2LO5x JJUhVGcNhT662XR7AtvEYDP7B20b5Z34HDyV6Kghz5tO4siDDLd6VR5mmZtqWs9R olOYPk/xnYiSXmXwjI/D56U0KpirxQF0FzOsJxsFFvBngPJlZuiwMYNRil3N4qH0 JqG0yAqUKGor0e/x4FMRPw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1726889109; x= 1726975509; bh=9miWcO2Q1trgkWUfW7/zsqtsELn+Oq/sHKBD/4NiR54=; b=E EWWyBqukpNC/cdcjGlbChywBMeI6I1S9wfZCnQQ/CCOu2/sYRrPYzCylmHNcvSwe 2e/RmiXf5YOVtVkm+HoWzwYywaitK6HLianFES9n1CJveK3V1CD2pw8xDxSwZ3o/ UFVeOt8itTkIw9eL3PVTd8Ptut94WE3UxktfTrvPlxQ2Nc5giQY2nqZ97RHYUL6c argVFvzQJjfeWVsGAhQ4jVi6m18PbFdQa/UJ8GfdMgaP02PJlAiflzkJQeVo1nWS IBhd33xqPswDzsWnwKniqq/tQqgXJ4ig3IG3ivZNnLE5Hr2hVJVvmD7p45UH4yTy Y8fcSxMBFzKVqVQdmkgPA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudelgedgjeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfhgfhffvvefuffgjkfggtgfgsehtqhertddtreej necuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggtrdhtvheqne cuggftrfgrthhtvghrnhephfelvedtieeffffggeeivdeukedutedtveejfffhleeileef heeggfdugfeiuefhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepihgrnhesrhgvthhrohhsphgvtgdrthhvpdhnsggprhgtphhtthhopedvpdhm ohguvgepshhmthhpohhuthdprhgtphhtthhopehhvghlphdqghhuihigsehgnhhurdhorh hgpdhrtghpthhtoheprhgviigrrdhhohhushhsvghinhhisehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 20 Sep 2024 23:25:08 -0400 (EDT) References: <87zfo2o2st.fsf@housseini.me> User-agent: mu4e 1.8.13; emacs 28.2 From: Ian Eure To: Reza Housseini Cc: help-guix@gnu.org Subject: Re: How to pack development inputs from a package Date: Fri, 20 Sep 2024 20:21:03 -0700 In-reply-to: <87zfo2o2st.fsf@housseini.me> Message-ID: <87zfo14rjf.fsf@meson> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=103.168.172.158; envelope-from=ian@retrospec.tv; helo=fhigh7-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 X-Migadu-Spam-Score: -4.71 X-Spam-Score: -4.71 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: 13776E6CB X-TUID: AifVooVau2Pk Hi Reza, Reza Housseini writes: > Hi Guixers > > From guix shell I can call > > guix shell -D -f guix.scm > > Now I want to pack those into a container with guix pack, but=20 > there is > no equivalent command there, how would I achieve this, is there=20 > an > expression I could use? > > Something along the way > > guix pack -f docker -e '(package->development-manifest=20 > (from-file "guix.scm"))' > I believe you just need to bring the package=E2=80=99s inputs and=20 native-inputs along. This probably isn=E2=80=99t quite right, but should=20 be close: guix pack -f docker -e '(let ((pkg (from-file "guix.scm")))=20 (append (package-inputs pkg) (package-native-inputs pkg)))' =E2=80=94 Ian