From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzpj5-0005IP-PP for guix-patches@gnu.org; Wed, 04 Oct 2017 15:53:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzpj5-0007YX-3g for guix-patches@gnu.org; Wed, 04 Oct 2017 15:53:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40575) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzpj5-0007YR-0Z for guix-patches@gnu.org; Wed, 04 Oct 2017 15:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dzpj4-0004vj-PV for guix-patches@gnu.org; Wed, 04 Oct 2017 15:53:02 -0400 Subject: [bug#28706] [PATCH 2/3] file-systems: Add a 'location' field to . Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Wed, 4 Oct 2017 21:51:44 +0200 Message-Id: <20171004195145.4743-2-ludo@gnu.org> In-Reply-To: <20171004195145.4743-1-ludo@gnu.org> References: <20171004195145.4743-1-ludo@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28706@debbugs.gnu.org * gnu/system/file-systems.scm ()[location]: New field. --- gnu/system/file-systems.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm index 52f16676f..92f040425 100644 --- a/gnu/system/file-systems.scm +++ b/gnu/system/file-systems.scm @@ -38,6 +38,7 @@ file-system-check? file-system-create-mount-point? file-system-dependencies + file-system-location file-system-type-predicate @@ -101,7 +102,10 @@ (create-mount-point? file-system-create-mount-point? ; Boolean (default #f)) (dependencies file-system-dependencies ; list of - (default '()))) ; or + (default '())) ; or + (location file-system-location + (default (current-source-location)) + (innate))) ;; Note: This module is used both on the build side and on the host side. ;; Arrange not to pull (guix store) and (guix config) because the latter -- 2.14.2