Work around behavior of old 'scandir' in Guile 2.0.5.
authorMark H Weaver <mhw@netris.org>
Sun, 6 Apr 2014 23:46:16 +0000 (19:46 -0400)
committerMark H Weaver <mhw@netris.org>
Mon, 7 Apr 2014 08:20:30 +0000 (04:20 -0400)
commitd2d8779b2175b48dca7005a4b9de45cf84e0826a
tree8f4b3dcfc7408335bfd31828d2b19ae90ce096b8
parent030daf7133ce16a87b0a06e310c6e143911df668
Work around behavior of old 'scandir' in Guile 2.0.5.

Problem reported by John Darrington <john@darrington.wattle.id.au>.

* guix/nar.scm (write-file): Filter out "." and ".." from the result of
  'scandir'.  Previously we did this by passing a suitable predicate.
guix/nar.scm