From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eDsFOMZfxV5fYwAA0tVLHw (envelope-from ) for ; Wed, 20 May 2020 16:50:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +HzeM8ZfxV4iHAAA1q6Kng (envelope-from ) for ; Wed, 20 May 2020 16:50:14 +0000 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 A78CD94030A for ; Wed, 20 May 2020 16:50:14 +0000 (UTC) Received: from localhost ([::1]:39158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbRv3-0007gn-Ki for larch@yhetil.org; Wed, 20 May 2020 12:50:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbRut-0007gT-Vq for guix-devel@gnu.org; Wed, 20 May 2020 12:50:04 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.233]:44117) by eggs.gnu.org with esmtps (TLS1.2:RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jbRus-0005M5-4J for guix-devel@gnu.org; Wed, 20 May 2020 12:50:03 -0400 X-Interia-R: Interia X-Interia-R-IP: 89.64.42.134 X-Interia-R-Helo: Received: from kompiuter (89-64-42-134.dynamic.chello.pl [89.64.42.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA for ; Wed, 20 May 2020 18:49:58 +0200 (CEST) Date: Wed, 20 May 2020 18:49:44 +0200 From: Jan To: guix-devel@gnu.org Subject: Re: The problem of packaging Minetest mods/games Message-ID: <20200520184944.340f0b1b@kompiuter> In-Reply-To: <20200519230549.16a299b5@kompiuter> References: <20200519230549.16a299b5@kompiuter> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1589993399; bh=OJpcRTPMS3jzz0kass0T58hO+Vm5Ay1xSpcTAutCnm4=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:Date:From:To:Subject: Message-ID:In-Reply-To:References:X-Mailer:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Interia-Antivirus; b=bQDZ5aeazUXKWG236/1sCy1ISq1MjNFgPkxtAt1FGk1esADPMtTRwpn1/S45Qy12x TOTbe5zVb+BF3HvnwwLQPrJJxczK8Gq7ZFsesjrBJ9+OcAJp++V+sIKK/MhUSsJUdD lQ3ax0ljuye8L6bh1ejlFTy5DBzn9X9tzceEkv14= Received-SPF: pass client-ip=217.74.65.233; envelope-from=tona_kosmicznego_smiecia@interia.pl; helo=smtpo.poczta.interia.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/20 12:49:59 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x (no timestamps) [generic] 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=interia.pl header.s=biztos header.b=bQDZ5aea; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 0.79 X-TUID: dAq+dqupTn/w Hi, Thanks everyone for suggestions, I will check how it works in practice and look for the environment variables. Surprisingly I had an idea yesterday - what if we threat the minetest package as an interpreter, which it actually is, because it interprets lua scripts, while treating mods and games as files it interprets. This way minetest doesn't require minetest-data as a dependency anymore, on the other hand minetest-data requires minetest to run, which is actually how it is in reality. Following this idea, I removed the minetest-data dependency from the minetest package and added minetest as a propagated input of minetest-data. I installed the new minetest-data package and it worked! This way minetest doesn't get rebuilt every time a modification/game is added. I could rename the packages: minetest -> minetest-base/core (non-public package) minetest-data -> minetest (public package) This way installing minetest installs both the game's core and the default game. What do you think about this solution? Jan Wielkiewicz