diff options
| author | Ludovic Courtès | 2015-05-07 21:51:30 +0200 |
|---|---|---|
| committer | Ludovic Courtès | 2015-05-10 11:07:51 +0200 |
| commit | 09d809db6a37502b8cb2fb71748cc8bf500e117f (patch) | |
| tree | e3ad070986294fbee93264cd7c8af6221b4359f3 /guix/ui.scm | |
| parent | 47c66da00b737b28f27429e472c71cf987409b60 (diff) | |
Remove assorted Guile 2.0.5 workarounds.
* guix/scripts/authenticate.scm (%default-port-conversion-strategy):
Remove.
* guix/scripts/substitute.scm (fetch): Remove 2.0.5 special cases.
* guix/serialization.scm (write-file): Remove 'scandir' workaround.
* guix/ui.scm (command-files): Likewise.
Diffstat (limited to 'guix/ui.scm')
| -rw-r--r-- | guix/ui.scm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/guix/ui.scm b/guix/ui.scm index e717ab713..911e5ee86 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -852,11 +852,8 @@ parameter of 'args-fold'." (define dot-scm? (cut string-suffix? ".scm" <>)) - ;; In Guile 2.0.5 `scandir' would return "." and ".." regardless even though - ;; they don't match `dot-scm?'. Work around it by doing additional - ;; filtering. (if directory - (filter dot-scm? (scandir directory dot-scm?)) + (scandir directory dot-scm?) '())) (define (commands) |