From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cLiIEpN28WY8UQEAqHPOHw:P1 (envelope-from ) for ; Mon, 23 Sep 2024 14:09:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cLiIEpN28WY8UQEAqHPOHw (envelope-from ) for ; Mon, 23 Sep 2024 16:09:23 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=greghogan-com.20230601.gappssmtp.com header.s=20230601 header.b=SAhoCfi2; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727100563; 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=7oEVmU+DM0/8izoB9O6imci3RwOqWO4k+AEDhdzabSs=; b=qafqsV9PBaA87ScBz4Fyj//ujF3qDpO+cw3bKWbXA5hwsiwVml3FXJFhzFKhYz7BxGYJl4 H/fc/OuQKEGWmQmnOwxp1OLc0QcnGvtMy3B854n69iCFli7tU4Uz2ICVCe5FkIapLNlSvR kUbWQkKplI8zB6HQsalD/w/ov8yA8gCdqaS54AUfvraNp9XSZIIOjPlpdA8AayualVfEVM c88QOfnyaLmBWTlG4NmP/zxvYO4rNoiTNm8NSa7GC69s/mAzzVA8CaUCOqcQ9zrbMbkTo6 nEtGAksEXusGeR2FewBM/JmaSVSfEf2+nMz2/5gerEOFEvFQI0Wn4pOHeywOgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=greghogan-com.20230601.gappssmtp.com header.s=20230601 header.b=SAhoCfi2; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727100563; a=rsa-sha256; cv=none; b=U5ZNuI2HRh7Qey3wsI/IH67BEoLsQABe222zO6hT4WdpXk0geMn3qFsmeBI2i3CphMGOAl YW1JMIBqvWajKXQv7Cl/P4WGBrB17NiUZkGfQ9Dpift2UYTXaKUJ+7ZfXmTl4fEFSWfT0N HOt8366QoNV2rGkWkmf6Z4rXFK+6IJcW39O4UeTA2qzz0/fCRztDGJYH47KX3WxcRCycSM CmeZV+Iqq1a1vyEdxyh6Ta3bFQtmI6GOuZVFxmr9w/w5PKX9H3Dt83jHGIpTWAdQ1zvko6 htpJMiHUwNSZDhmWHZGT8yKCyvYP/Qg5VfwkW10k0aIkPHPIth7mudc7rND/Ag== 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 E3AFB693E2 for ; Mon, 23 Sep 2024 16:09:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssjju-0003Rk-9g; Mon, 23 Sep 2024 10:08:34 -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 1ssjjr-0003RX-SV for help-guix@gnu.org; Mon, 23 Sep 2024 10:08:32 -0400 Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ssjjq-0001RQ-97 for help-guix@gnu.org; Mon, 23 Sep 2024 10:08:31 -0400 Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-713861d3af6so1300115a34.3 for ; Mon, 23 Sep 2024 07:08:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1727100508; x=1727705308; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7oEVmU+DM0/8izoB9O6imci3RwOqWO4k+AEDhdzabSs=; b=SAhoCfi2ABrLsTWFw5+2feTpW1pLa5KJ8tuC7seNiSZfPoXl0x8XDfduW7BuzcUAAC DVJaHERJEadV+sfr/hbPjbKDv/SdEaSmusOSu5b0g5v8j0rf7jdYyOyPwsE5M3iTqT12 2udSVgNKWpx8SqiBqsL/NJhieSDD9JIO+Aj1eylS4z5EzRnSO3obEZqDSmBw2yu5ztpp xqJ+3FuaMONWMDDEuvdHJQeSxWwNCx/nJ4du+vGSLwo0HuymjqvE3kAZ2LEjS3V789Do XWj9+fFNhyJqJVqwA0CT4l3cbcL1ZIZyuqryf0d6Ceod5NwkEniOAzu/WHGh5gHl+jlt FrpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727100508; x=1727705308; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7oEVmU+DM0/8izoB9O6imci3RwOqWO4k+AEDhdzabSs=; b=WXa8uy3p8GfvzrXk4lE0F3zO9yAAy9DqawDVhIjbbZlQDsoRxkdMiwcIwc9A0Fotbw HGVTLl/Hhm5CMjNFGHJDY3Luvrm4YHViI0Md0M2UJxjBo79GgbTu6InxLbL5ElNheKGS Cy7vhy0NX28/jndmf2aDXfOgUGOX+Fnv7q9uz7LRjfGhun6WTd/uLesTd+vKVT/DZnws 8fUrrqxlT2Jrh6CQizmbb2LrkwmYnHypLTyevdI8NidlkocivGlZLUcjwy7SQT7JG8ON 4fxElfxidL/l0m4NvuA4Er9+ft2RAsojI1Ipha8F90jOliGYNwhbaN7ta7SCoDjazsyb PurA== X-Gm-Message-State: AOJu0Yxcuyn1wMY/hNhoOYASGeBsw1zlWtRNcGAEuo/kk5NrS3NaHHo2 J4ucwY9/mpyqOdAO2EWIcI9jjpoeCcb7bT8vg74JJA7BNiruQDexbz4yhVpaEvCdK0v6vQ1TKt0 orFnG72i0Zh4jOO+ytZRlvU/+9K9CiyIKOXeDZw== X-Google-Smtp-Source: AGHT+IHF24jGqw1zRl/e0Sua7FrsuBj7KQaGqNFxi2HRygvC7Cv2XLEmeyo2Vl/gur+6JkJCAZyDbbwfH/t56VOhv1o= X-Received: by 2002:a05:6830:2b13:b0:710:e987:2659 with SMTP id 46e09a7af769-7139246d5b0mr7398309a34.22.1727100508187; Mon, 23 Sep 2024 07:08:28 -0700 (PDT) MIME-Version: 1.0 References: <87zfo2o2st.fsf@housseini.me> In-Reply-To: <87zfo2o2st.fsf@housseini.me> From: Greg Hogan Date: Mon, 23 Sep 2024 10:08:16 -0400 Message-ID: Subject: Re: How to pack development inputs from a package To: Reza Housseini Cc: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2607:f8b0:4864:20::333; envelope-from=code@greghogan.com; helo=mail-ot1-x333.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: E3AFB693E2 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -9.06 X-Migadu-Spam-Score: -9.06 X-TUID: ZynAs9zWlmZY On Fri, Sep 20, 2024 at 9:47=E2=80=AFAM Reza Housseini wrote: > > 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 there is > no equivalent command there, how would I achieve this, is there an > expression I could use? > > Something along the way > > guix pack -f docker -e '(package->development-manifest (from-file "guix= .scm"))' You have a manifest for the package, why not create a second manifest for the container which includes guix.scm and returns the result of package->development-manifest (or returns that concatenated with additional useful development packages)?