From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brice Waegeneire Subject: Re: [Help] Adding file-system utils packages to system profile Date: Tue, 07 Apr 2020 08:38:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51279) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLjl3-0002Oi-Qz for guix-devel@gnu.org; Tue, 07 Apr 2020 04:38:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLjkz-0005mQ-04 for guix-devel@gnu.org; Tue, 07 Apr 2020 04:38:57 -0400 In-Reply-To: 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+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: Guix-devel On 2020-04-06 17:07, Brice Waegeneire wrote: > I tried implementing this in the attached patch but I'm currently stuck > and > need some help. I've probably overlooked something basic but I can;t > put a > finger on it... Guix compile successfully with the patch and testing > “file-system-utils” in “guix repl” returns a list of packages as > expected. > But when I try building a system/vm the packages aren't added to the > system's profile as I expected. From what I understand, that function > as > used in “file-system-service-type” should get as arguments the list of > file-systems defined in the operating-system and should return a list > of > packages, themselves appended to the system's profile list of packages. It turns out “file-system-service-type” doesn't get *all* the file-systems, just the one not need for boot. With this issue fixed I have submitted it as patch #40480[0]. [0]: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40480 - Brice