From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: Moving general useful procedures to the utils-modules Date: Wed, 26 Dec 2018 13:17:50 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gc825-0004eA-TW for guix-devel@gnu.org; Wed, 26 Dec 2018 07:11:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gc822-0008Ky-PN for guix-devel@gnu.org; Wed, 26 Dec 2018 07:11:29 -0500 Received: from mx1.riseup.net ([198.252.153.129]:59749) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gc81y-0008C1-BR for guix-devel@gnu.org; Wed, 26 Dec 2018 07:11:24 -0500 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 453731A020E for ; Wed, 26 Dec 2018 04:11:15 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id 98EF4105C3E for ; Wed, 26 Dec 2018 04:11:14 -0800 (PST) Content-Language: en-US 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.org@gnu.org Sender: "Guix-devel" To: guix-devel Hi I found this in guix/build/cargo-build-system.scm: (define (touch file-name) (call-with-output-file file-name (const #t))) I think we should move useful ones like this to (build utils) and consider merging (build utils) and (import utils) into a single utils-module. I think we should also consider factoring out some of these utils in a separate guix-utils library that can be used by other guile-projects WITHOUT depending on the whole of guix. These steps makes it easier for newcomers to overview our many modules and use our very valuable tools. -- Cheers Swedebugia