From da036496406f60e591786f89e8a51ad75cb0e5c7 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 20 Jul 2017 11:44:12 +0200 Subject: profiles: Remove workaround for an old Guile 'scandir' bug. * guix/profiles.scm (generation-numbers)[scandir]: Remove. --- guix/profiles.scm | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/guix/profiles.scm b/guix/profiles.scm index 85c1722d62..b3732f61ed 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm @@ -1313,40 +1313,6 @@ are cross-built for TARGET." (define (generation-numbers profile) "Return the sorted list of generation numbers of PROFILE, or '(0) if no former profiles were found." - (define* (scandir name #:optional (select? (const #t)) - (entry (file-system-fold enter? leaf down up skip error #f name lstat) - (lambda (files) - (sort files entry)) (#f ; no profile directory -- cgit v1.2.3