From: Gabriel Hondet <gabrielhondet@gmail.com>
To: Julien Lepiller <julien@lepiller.eu>
Cc: 34265@debbugs.gnu.org
Subject: [bug#34265] [PATCH 1/3] gnu: dune: Update to 1.6.3.
Date: Fri, 1 Feb 2019 09:38:22 +0100 [thread overview]
Message-ID: <87pnsbx5ce.fsf@gmail.com> (raw)
In-Reply-To: <87r2crx6ic.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2207 bytes --]
* gnu/packages/ocaml.scm (dune): Update to 1.6.3.
* guix/build/dune-build-system.scm
---
gnu/packages/ocaml.scm | 4 ++--
guix/build/dune-build-system.scm | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index a32cee44d..986e435f4 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1391,14 +1391,14 @@ coverage information.")
(define-public dune
(package
(name "dune")
- (version "1.2.1")
+ (version "1.6.3")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/ocaml/dune/releases/"
"download/" version "/dune-" version ".tbz"))
(sha256
(base32
- "00c5dbm4hkdapc2i7pg07b2lj8sv6ly38qr7zid58cdmbmzq21z9"))))
+ "0dmf0wbfmgdy5plz1bjiisc2hjgblvxsnrqjmw2c8y45v1h23mdz"))))
(build-system ocaml-build-system)
(arguments
`(#:tests? #f; require odoc
diff --git a/guix/build/dune-build-system.scm b/guix/build/dune-build-system.scm
index fcc2d6567..00b0c7c40 100644
--- a/guix/build/dune-build-system.scm
+++ b/guix/build/dune-build-system.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
+;;; Copyright © 2019 Gabriel Hondet <gabrielhondet@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -49,7 +50,8 @@
"Install the given package."
(let ((out (assoc-ref outputs "out"))
(program (if jbuild? "jbuilder" "dune")))
- (invoke program install-target "--prefix" out))
+ (invoke program install-target "--prefix" out "--libdir"
+ (string-append out "/lib/ocaml/site-lib")))
#t)
(define %standard-phases
--
2.20.1
On Fri 01 Feb 2019 at 09:22 Gabriel Hondet wrote:
> So I guess we have to add the flag ~--libdir=(string-append (assoc-ref
> %outputs "out") "/lib/ocaml/site-lib/")~ during the install phase
So I have tried, and it works like a charm. So here is a 3-patch-only
version of my 9 previous patches, without any beta version.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2019-02-01 8:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-31 16:18 [bug#34265] [PATCH 1/9] gnu: dune: Update to 1.6.3 Gabriel Hondet
2019-01-31 16:20 ` [bug#34265] [PATCH 2/9] gnu: sexplib0: Update to 0.12-preview.120.18+252 Gabriel Hondet
2019-01-31 17:28 ` Julien Lepiller
2019-01-31 17:49 ` Gabriel Hondet
2019-02-01 8:22 ` Gabriel Hondet
2019-02-01 8:38 ` Gabriel Hondet [this message]
2019-02-01 8:49 ` [bug#34265] [PATCH 2/3] gnu: ocaml-migrate-parsetree: Update to 1.2.0 Gabriel Hondet
2019-02-01 8:50 ` [bug#34265] [PATCH 3/3] gnu: Add ocaml-ppx-inline-test Gabriel Hondet
2019-02-04 21:12 ` bug#34265: [PATCH 2/9] gnu: sexplib0: Update to 0.12-preview.120.18+252 Julien Lepiller
2019-01-31 16:28 ` [bug#34265] [PATCH 3/9] gnu: ocaml-ppx-derivers: Fix libdir install Gabriel Hondet
2019-01-31 16:39 ` [bug#34265] [PATCH 4/9] gnu: ocaml-stdio: " Gabriel Hondet
2019-01-31 16:50 ` [bug#34265] [PATCH 5/9] gnu: ocaml-base: Update to 0.12-preview.120.18+252 Gabriel Hondet
2019-01-31 16:54 ` [bug#34265] [PATCH 6/9] gnu: ocaml-migrate-parsetree: Update to 1.2.0 Gabriel Hondet
2019-01-31 16:56 ` [bug#34265] [PATCH 7/9] gnu: ocaml-compiler-libs: Fix libdir install Gabriel Hondet
2019-01-31 16:58 ` [bug#34265] [PATCH 8/9] gnu: ocaml-ppxlib: Update to 0.5.0 Gabriel Hondet
2019-01-31 17:05 ` [bug#34265] [PATCH 9/9] gnu: Add ocaml-ppx-inline-test Gabriel Hondet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pnsbx5ce.fsf@gmail.com \
--to=gabrielhondet@gmail.com \
--cc=34265@debbugs.gnu.org \
--cc=julien@lepiller.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).