Am 24.10.2016 um 15:56 schrieb Ricardo Wurmus: > Here’s what I do to rebuild all bioconductor packages: > > > guix build -e '((@@ (gnu packages) fold-packages) > (lambda (pkg acc) > (if ((@@ (guix import cran) bioconductor-package?) pkg) > (cons pkg acc) > acc)) > (list))' > > “fold-packages” takes a procedure that accumulates a list of packages. > It takes the current package and the list of accumulated packages so > far. Here I’m using “bioconductor-package?” as a predicate, but you > could use something else in its place (e.g. a procedure testing the > package name).
Thanks for sharing this. Since I'm not a guile hacker, I'll stay with my bash-script, even if it is not that performant :-) -- Regards Hartmut Goebel | Hartmut Goebel | h.goe...@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |