From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oDBmN0tKxF4ZOQAA0tVLHw (envelope-from ) for ; Tue, 19 May 2020 21:06:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eEgMM0tKxF6TNQAAbx9fmQ (envelope-from ) for ; Tue, 19 May 2020 21:06:19 +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 3E8C1940365 for ; Tue, 19 May 2020 21:06:19 +0000 (UTC) Received: from localhost ([::1]:44740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jb9RK-00005Q-1A for larch@yhetil.org; Tue, 19 May 2020 17:06:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jb9RB-00005G-PA for guix-devel@gnu.org; Tue, 19 May 2020 17:06:09 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.233]:59509) by eggs.gnu.org with esmtps (TLS1.2:RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jb9R9-0001ak-8p for guix-devel@gnu.org; Tue, 19 May 2020 17:06:09 -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 ; Tue, 19 May 2020 23:06:02 +0200 (CEST) Date: Tue, 19 May 2020 23:05:49 +0200 From: Jan To: guix-devel@gnu.org Subject: The problem of packaging Minetest mods/games Message-ID: <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=1589922362; bh=RfDT3MrLxwIw4qJyoS+ADWAKdkCT2Qv/WEMsZvxZo10=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:Date:From:To:Subject: Message-ID:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding:X-Interia-Antivirus; b=Of7pgOLLVIwXVy3L4Q3tXhRpEBvL4l705ekokhd/PQMyBCCNAk41dGgzD6OtQxbnQ YYrdy4CmxIl0tnnQToFkJlgJneMsP8siP7mVkL1Uxtwa7u/pdr2579GqP5wWt47gmt sdosTwWXKLduomAFHQRu91AOQYkK9MEMlWa/2Vug= 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/19 17:06:02 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=Of7pgOLL; 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.71 X-TUID: Aw0sFZwETqbv Hello, Recently I decided to update the Minetest package, which isn't a problem itself, but I discovered the package fails to provide the default minetest game. For those who don't know, Minetest is extensible by desing - all you do is you put a modification/game into a folder - usually /share/minetest/games or ~/.minetest/games and it is run by the game engine. I checked the source code and there's a non-public minetest-data package, which provides the minetest_game and it contains this: (arguments `(#:modules ((guix build utils)) #:builder (begin (use-modules (guix build utils)) (let ((install-dir (string-append %output "/share/minetest/games/minetest_game"))) (mkdir-p install-dir) (copy-recursively (assoc-ref %build-inputs "source") install-dir) #t)))) And this package is in the propagated-inputs fiend of the minetest package, but it doesn't work. I would like to understand why it doesn't work, fix it and learn something new about Guix by the way :) 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? Could we for example place the mods in the ~/.minetest/games folder? Jan Wielkiewicz