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 kPXnFGTBRWP3EQAAbAwnHQ (envelope-from ) for ; Tue, 11 Oct 2022 21:17:56 +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 8Br0FGTBRWNcQQAAauVa8A (envelope-from ) for ; Tue, 11 Oct 2022 21:17:56 +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 1326D125A3 for ; Tue, 11 Oct 2022 21:17:56 +0200 (CEST) Received: from localhost ([::1]:56714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiKlH-0000gY-4e for larch@yhetil.org; Tue, 11 Oct 2022 15:17:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiKko-0000fc-Ml for help-guix@gnu.org; Tue, 11 Oct 2022 15:17:29 -0400 Received: from mx1.dismail.de ([78.46.223.134]:36182) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiKkm-0004HA-Av for help-guix@gnu.org; Tue, 11 Oct 2022 15:17:26 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 5946a63a; Tue, 11 Oct 2022 21:17:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:content-transfer-encoding:from :message-id:subject:to:in-reply-to:references; s=20190914; bh=sS QNfJN3kBgFltwcGQ32yI4xe2rfnxwJFyuhHxsiZeY=; b=WY0kvAWajTsPYkde1U NJbltUKktn1fSGfuN0zcDQhj16eUYDWCwlLAaqMaDAnylN033u4n1TyJKrmMMNC0 f8wdlpDUcD7MAup9hSsN2MDouQDKR4eXaHwC85IVBw2Rwcyof48lLqoumkoa5Yer qPn7tItmGQXVutJUHXfbX07y/nNJZfdFhAx3RlYdpwVvoJyC98nSGQiXsFS811Ab a8Pev22LGCAgO/t7hi2KTXF1CU/WUFGX0lMGGenjVnirOQN9S0sCsFGLMyP496uP i7d8ouiClqZO/2OdoldIFPdPWWL+Pq3+COH48tm2+VfkJfgIvW6xsMNc55Wwnhgw GPcQ== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 541dc83e; Tue, 11 Oct 2022 21:17:20 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 324b5fe9; Tue, 11 Oct 2022 21:17:20 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 11d4e9af (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 11 Oct 2022 21:17:19 +0200 (CEST) MIME-Version: 1.0 Date: Tue, 11 Oct 2022 19:17:19 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.16.0a From: jbranso@dismail.de Message-ID: <1d2c666a416f422bff722fd35cfcaef6@dismail.de> Subject: Re: Reuse package output for new package To: "phodina" , "help-guix" In-Reply-To: References: Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@dismail.de; helo=mx1.dismail.de 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_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" 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=1665515876; 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=fY12PvLJxvoEJ7x25nzBgjKnG7LRCVlKzLFNxT5e5EM=; b=DGLZYN+uDbnlDkSK3fVEdDKyxV+r+mZW0J1EAwxyn6pyxWpQMbSev0ytZa3UJaZt+q5pAC S5Z+2VJXvaziabv6aA7q8J+Q1weiCKJ+vWXKMhtqKHpED3Lg2e756RA5XH7TtXYpFSDYka 0nQbMy3+Qsi18biTnSoHQJrT/I+yumkYPO1lcLw5Qo2Qtqb1Ni/QjsgyZWzh/XYjDFEf8L 4vcpCdF45sF+HtkAKJmADZQoCvNk8M6QEynbcq7ED2D9U0n4if5Z/6RjfxO2zqsIq6Lplh Z4yPDzRPGIejUbZ3eQXQDbBEbWNh/QbCXXIcj/WOWsHDoWeyQy5AZo1YhQ1Z6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665515876; a=rsa-sha256; cv=none; b=D6P7usWr2aJGaQqTdMCePyPa312UfWeyX8jyz7YaRJlAMe8e7lFBhD32eU03IpSZ2c8Guk RLb8pTjikwL+wQ6r5zeUUu1TervhYTdzT4wLHYeb/YNjDiWVGLZsQG57VpVr7WEbkgwRT4 AlN6GTtwh26Yt9EoFhCCVtXT9TVO17cNzaX/iwHf8+Ff4xQBP/RranbjWOD97wEXwzQsby qUuRLFNCnsDjdyg+2xEoSkZ9t5yQamMm/v05tZA04SHM1hYEHP+9wOLsOZl0LbraXQfLqd yrQwsfUbZboJCkCbZVjcnHaJBR5I6dqCqbGqz0Pu3FPQPUxdUwRVDpfY8IcfcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=WY0kvAWa; dmarc=pass (policy=reject) header.from=dismail.de; 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: -5.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=WY0kvAWa; dmarc=pass (policy=reject) header.from=dismail.de; 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: 1326D125A3 X-Spam-Score: -5.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: TDhXziGscI9Y September 13, 2022 12:28 AM, "phodina via" wrote: > Hi, >=20 >=20is there a way to create a new package by reusing the output of the o= riginal derivation and just > add files to the new package into the new output? >=20 >=20The usecase is PhotoGimp [1] which is set of files which are added to= an already built gimp > package. >=20 Huh,=20I've never heard of this. But that's an awesome use case! > There standard way is to inherit the package and add these files but th= at will result in rebuilt, > right? I believe that it would, but I'm not the genius guix hacker that *insert the name of a genius guix hacker here*. > Alternative idea is to use copy-build-system and copy the already creat= ed package files into the > output. Then just add additional files. >=20 >=20However, there's also a draw back if the original package contains ha= rdcoded variable. But this > would be only problem if I specify something in the #:phases, correct? >=20 >=20The main idea here is to save the computing resources on packages tha= t take long time and their > behviour can be changed by plugins/config files etc. >=20 >=20Of course the simplest way to use [1] it is to unpack the content of = the home dir but IMHO that's > not the correct way how to package this program. >=20 >=20[1] https://github.com/Diolinux/PhotoGIMP >=20 >=20---- > Petr I say give one of your methods a try. Post some code back here when you = run into trouble. :) Joshua