On Sun, 4 Mar 2018 02:09:14 +0100 Danny Milosavljevic wrote: > --- a/gnu/system/linux-initrd.scm > +++ b/gnu/system/linux-initrd.scm > @@ -161,17 +161,17 @@ the derivations referenced by EXP are automatically copied to the initrd." > #:references-graphs `(("init-closure" ,init) > ("modprobe-closure" ,modprobe)))) > > -(define (flat-linux-module-directory linux modules) > - "Return a flat directory containing the Linux kernel modules listed in > -MODULES and taken from LINUX." > +(define (flat-linux-module-directory linux aliases) > + "Return a flat directory containing the Linux kernel modules resolved by > +ALIASES and taken from LINUX." ... > + (define (find-only-entry directory) > + (match (scandir directory) > + (("." ".." basename) > + (string-append directory "/" basename)))) Probably unsafe since the order is not guaranteed.