gnu: ocaml: Fix reference to output.

* gnu/packages/ocaml.scm
  (dune-boot)[arguments]<#:make-flags>: Use #$output.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Maxime Devos 2021-08-20 14:48:37 +02:00 committed by Mathieu Othacehe
parent cd5b2cf56a
commit c33c44fd43
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -22,6 +22,7 @@
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz> ;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru> ;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -87,6 +88,7 @@ (define-module (gnu packages ocaml)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system ocaml) #:use-module (guix build-system ocaml)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
@ -1620,9 +1622,9 @@ (define dune-bootstrap
(build-system ocaml-build-system) (build-system ocaml-build-system)
(arguments (arguments
`(#:tests? #f; require odoc `(#:tests? #f; require odoc
#:make-flags (list "release" #:make-flags ,#~(list "release"
(string-append "PREFIX=" (assoc-ref %outputs "out")) (string-append "PREFIX=" #$output)
(string-append "LIBDIR=" (assoc-ref %outputs "out") (string-append "LIBDIR=" #$output
"/lib/ocaml/site-lib")) "/lib/ocaml/site-lib"))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases