From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CFaHGie5JGPzogAAbAwnHQ (envelope-from ) for ; Fri, 16 Sep 2022 19:57:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mP2CGSe5JGOnKQEAG6o9tA (envelope-from ) for ; Fri, 16 Sep 2022 19:57:59 +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 380AF29EDB for ; Fri, 16 Sep 2022 19:57:59 +0200 (CEST) Received: from localhost ([::1]:59462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZFbC-00019V-Ak for larch@yhetil.org; Fri, 16 Sep 2022 13:57:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZFaz-00019E-CP for guix-devel@gnu.org; Fri, 16 Sep 2022 13:57:45 -0400 Received: from smtpo76.interia.pl ([217.74.67.76]:37869) by eggs.gnu.org with esmtps (TLS1.2:RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZFaw-00089Q-N1 for guix-devel@gnu.org; Fri, 16 Sep 2022 13:57:45 -0400 Received: from [192.168.0.13] (89-64-56-87.dynamic.chello.pl [89.64.56.87]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Fri, 16 Sep 2022 19:57:33 +0200 (CEST) Message-ID: Date: Fri, 16 Sep 2022 19:57:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: Updating minetest to 5.6.0? Content-Language: en-US To: Maxime Devos , "guix-devel@gnu.org" References: <29c874ec-112e-8e26-819a-ba467f764b93@telenet.be> <1399abd9-bbc0-85fb-dd0a-aed3f949fbbf@telenet.be> From: Jan Wielkiewicz In-Reply-To: <1399abd9-bbc0-85fb-dd0a-aed3f949fbbf@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1663351055; bh=yGDy6XJGMV+0p5tyHGkqiuIkmX8G07db+RTCHlHIwzU=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; b=ZOwQBf0dnemhycxExUGPD3siSlJo7I2YYddaTjj3QwMML3YwedMlS2GkWJTsKpgei x03l8YP8Xl8MFDXJZiAYCLJqhxEIjTYKqCSGl1Lj2GlbHb6ESIsC49rCGTpiAfpvsa Hid8R+kXOYlZ3i6HxRFVPhHjkfLSOkEX8uDQgOQI= Received-SPF: pass client-ip=217.74.67.76; envelope-from=tona_kosmicznego_smiecia@interia.pl; helo=smtpo76.interia.pl X-Spam_score_int: -38 X-Spam_score: -3.9 X-Spam_bar: --- X-Spam_report: (-3.9 / 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, NICE_REPLY_A=-1.816, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 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-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663351079; 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=yGDy6XJGMV+0p5tyHGkqiuIkmX8G07db+RTCHlHIwzU=; b=juLQeFPwr8f0fj/ZZZph9CNmec++GG/lR0N7C27OciU3RnDEME6UhanKKVb3QqUAYNVW47 v5ZCuDulqfRbdTzVh7mCNIvgHLZqK0s+qBI0qTE6U3T/7c2H3pBOdRAUbbcEhawh/27rsf DPiXtj4y5eumj/SlMcLK1HVr8YBSSZm2cuMl89x8wL9x+PQIlhqjWk08wENO1pUU+snJO6 TWpQq2cZk/it3OdbU630T4vrUjh5gv4ectBVrIidK5fQppDM8ZYuMFrXoJnT7gaZ16Y+qD jLbs1x4t/K8ytjB7vix38yT+t5Mo4+iYbpb5ZqWyjp0/mes1NcYydTbDlf1KCw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663351079; a=rsa-sha256; cv=none; b=O6LzH34TRGN/vJMd5wfp9PcXGE9Uv9vMPVGishPz2AOeOIh5xYwvfZPDADbJ8UeCxAezIw 05nNVdK4Z8O099P/PRauOry2m4PW4ZxOtN3XqslKyiNNQGHgjY3ltk+uNVIvKg7DXxUIEg LNGStqLM4w9InAvfrk/wFlYD7NRjp6kO36pNFU7c3ej1GQvxBAu2MNL/D8a5F71o/aUwY2 N3e5wSkXpRoz2yvpQM43Usiu9HX3XrVDYzTN0qLA3iRjuppdIHVhiuYHyVwSHBQerHHIbC h4tBW8F8zZBLe5L00vtNvDiNjXzd64RTvEfSbys4B6250KK+VmXmEq87nNrIBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=interia.pl header.s=biztos header.b=ZOwQBf0d; dmarc=pass (policy=none) header.from=interia.pl; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=interia.pl header.s=biztos header.b=ZOwQBf0d; dmarc=pass (policy=none) header.from=interia.pl; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 380AF29EDB X-Spam-Score: -1.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: rP+JJWCXHwdr On 16.09.2022 10:59, Maxime Devos wrote: > > > On 16-09-2022 00:45, Jan wrote: >>> The minetest-mod-build-system has some (very basic) tests for testing >>> that the mods at least load with the new Minetest. >> About that, I can never see mods installed with Guix in Minetest. Is >> the build system really working as intended? I'm running the latest >> Guix. Am I missing something? I don't see the mods on the current >> version nor the latest I packaged. > > Seems to work over here: > > $ guix shell --pure minetest minetest-mesecons > [ in the GUI: ‘Select Mods’ ] > [ GUI: ] > + mesecons > + Minetest Game mods > > [ in the GUI: select +mesecons ] > [ ...] > > Make sure to install Minetest and its mods in the same profile, and to > log out and in again if it's not done with "guix shell" or "guix > environment --ad-hoc" but with "guix home" or "guix install", such that > Guix can set appropriate environment variables (MINETEST_MOD_PATH). > >> I tried installing a mod by force installing it into >> "share/minetest/mods/modname" using the copy-build-system just like >> mineclone2 is installed, but it doesn't work this way. > > minetest-mod-build-system does this too, in 'mod-install-plan' > > Greetings, > Maxime. Thanks, it works now. I made a mistake and installed it from "guix shell -D guix --pure". Now that I installed it from my profile, both mods and games are visible in Minetest without a reboot. I also did a quick check and mods appear to work. Last one question before sending the patches: I'm adding a minetest game called Exile and it uses a mod called naturalslopeslib. I packaged both of them but Exile expects the lib to be installed in "/.guix-profile/share/minetest/games/exile/mods/naturalslopeslib/". Should I add the mod as a propagated-input of Exile or should I directly copy/link the lib into Exile's tree (if so, how do I go about that)? Users can easily download naturalslopeslib through Guix and enable it in the game's GUI but some may expect the dependency to be already there. My Exile package uses copy-build-system just like mineclone2. Jan Wielkiewicz