From a48d34504181e2f14cef3a5514d2319e60453a79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 18 May 2018 10:11:17 +0200 Subject: file-systems: Do not export . * gnu/system/file-systems.scm (): Do not export. * gnu/system.scm (operating-system-root-file-system): Use an accessor instead of 'match'. --- gnu/system.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/system.scm') diff --git a/gnu/system.scm b/gnu/system.scm index 1cf00aafcd..1052e9355d 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -842,9 +842,8 @@ hardware-related operations as necessary when booting a Linux container." (define (operating-system-root-file-system os) "Return the root file system of OS." - (find (match-lambda - (($ device title "/") #t) - (x #f)) + (find (lambda (fs) + (string=? "/" (file-system-mount-point fs))) (operating-system-file-systems os))) (define (operating-system-initrd-file os) -- cgit v1.2.3