import: opam: Also update dune packages.

* guix/import/opam.scm (opam-package?): Also accept packages that use the
dune build system.
master
Julien Lepiller 2019-03-23 18:36:57 +01:00
parent e57fb2852c
commit a506a4c380
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ package in OPAM."
(define (opam-package? package)
"Return true if PACKAGE is an OCaml package from OPAM"
(and
(equal? (build-system-name (package-build-system package)) 'ocaml)
(member (build-system-name (package-build-system package)) '(dune ocaml))
(not (string-prefix? "ocaml4" (package-name package)))))
(define (latest-release package)