summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2019-03-23 18:36:57 +0100
committerJulien Lepiller <julien@lepiller.eu>2019-03-23 18:37:29 +0100
commita506a4c3801838c0b75b58dd2ac8bb0ccf4279fb (patch)
treef5980e327463bdb5d581da2ec291175297084d60 /guix
parente57fb2852c8bf3bf20a4b49bfc1da43627c6afe3 (diff)
import: opam: Also update dune packages.
* guix/import/opam.scm (opam-package?): Also accept packages that use the dune build system.
Diffstat (limited to 'guix')
-rw-r--r--guix/import/opam.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/opam.scm b/guix/import/opam.scm
index 7b2e832e92..36028a01d6 100644
--- a/guix/import/opam.scm
+++ b/guix/import/opam.scm
@@ -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)