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 +G37ICJ+xF4KMQAA0tVLHw (envelope-from ) for ; Wed, 20 May 2020 00:47:30 +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 aLhoHCJ+xF4UXQAA1q6Kng (envelope-from ) for ; Wed, 20 May 2020 00:47:30 +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 35E60940143 for ; Wed, 20 May 2020 00:47:30 +0000 (UTC) Received: from localhost ([::1]:33744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbCtN-0000TO-3J for larch@yhetil.org; Tue, 19 May 2020 20:47:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbCtB-0000TG-M7 for guix-devel@gnu.org; Tue, 19 May 2020 20:47:17 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21376) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jbCt9-0005XT-OI for guix-devel@gnu.org; Tue, 19 May 2020 20:47:17 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1589935632; cv=none; d=zohomail.com; s=zohoarc; b=CwrFb5CH9DP1bIztYkYMrqb382OvlmkD92vOlPZbZD6/jSYQSrQ58hPfCNGRtGIWj4reqMv8hCbm3UQRmaz8hx+rSXsCsjefwIQuHh+b9D1HS/pVuKd9bdB2pEXsE2bkQ+3DaM4ulNtSrd0Iz+qQTWJOn+oKpDGXbBUCuUzposM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589935632; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=WF8x6p2O6cgCUvDhOG8/y0yWtybRWHAX21WwB6N3foM=; b=IZcs0Ibnzo4sHNamtZSelHAYpSkggxqOETUmjWLDVrrf/Wd9ZXh6hgetqu0Q0kJ50ygUgBsCP4thayCp3o0DojckQmHcmnt7TW0WUE63LH14J10YGrXWFVP1ThCCO/vvib66dfSTWzKcn8dC4hUY8WFHGJkUfkJwgqW7b3pdbko= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589935632; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; bh=WF8x6p2O6cgCUvDhOG8/y0yWtybRWHAX21WwB6N3foM=; b=MzJy+foAovmZYxN5uU9Y6cXy8VGrJOJZkCD+YkNinwmzQxm4i5UI7tk38TyFC0L9 GX64MH7WrlKTlnlgdwEXbPR5DVcE7Mf/l55pJg0sNRqFcsQJNbTthRjVAsHFLT5h5rX NO+R7s3X+ewVPxoQ1WQG9qnBA1OjoPN2K+d95UQY= Received: from localhost (p54ad4b90.dip0.t-ipconnect.de [84.173.75.144]) by mx.zohomail.com with SMTPS id 1589935629949805.9657585138306; Tue, 19 May 2020 17:47:09 -0700 (PDT) References: <20200519230549.16a299b5@kompiuter> User-agent: mu4e 1.4.4; emacs 26.3 From: Ricardo Wurmus To: Jan Subject: Re: The problem of packaging Minetest mods/games In-reply-to: <20200519230549.16a299b5@kompiuter> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 20 May 2020 02:47:06 +0200 Message-ID: <87ftbvfn5h.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.53; envelope-from=rekado@elephly.net; helo=sender4-of-o53.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/19 20:47:13 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: , Cc: guix-devel@gnu.org 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=elephly.net header.s=zoho header.b=MzJy+foA; 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: -2.21 X-TUID: JiFDwbLSnP0a Jan writes: > The second problem I encountered during examining the package was every > time I changed the path of the minetest_game in the minetest-data > package minetest was also recompiled, which took long time. (I thought > the path is improper) > My question is, what is the Guix way of dealing with such packages? > Imagine we have like 100 packaged minetest mods/games. Say I wanted to > add one, would I have to recompile the whole minetest package (C++), > despite the fact all mods are just Lua scripts put into folder and > interpreted by the engine? Is there a search path? > Could we for example place the mods in the ~/.minetest/games folder? If minetest looks in ~/.minetest/games then it probably can also be made to look in a list of directories specified via an environment variable. That would be the Guixy way. Let minetest specify a search path and install the data files and plugins in a well-known directory suffix. -- Ricardo