[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/13: gnu: ocaml-dose3: Fix reference to inputs and output.
From: |
guix-commits |
Subject: |
04/13: gnu: ocaml-dose3: Fix reference to inputs and output. |
Date: |
Fri, 20 Aug 2021 12:34:05 -0400 (EDT) |
mothacehe pushed a commit to branch core-updates-frozen
in repository guix.
commit 96ca16857f2f407a18cb7e5671f84f07cdf5e06f
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Aug 20 14:48:40 2021 +0200
gnu: ocaml-dose3: Fix reference to inputs and output.
The package 'lablgtk@2.8.10' (indirect dependency of ocaml-dose3)
fails to build so this patch could not be tested.
* gnu/packages/ocaml.scm
(ocaml-dose3)[arguments]<#:make-flags>: Use #$output.
(ocaml-dose3)[arguments]<#:configure-flags>: Don't use %build-inputs.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/ocaml.scm | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index c97f633..0043e9f 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -44,6 +44,7 @@
#:use-module (gnu packages algebra)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages boost)
#:use-module (gnu packages compression)
@@ -644,13 +645,11 @@ underlying solvers like Cplex, Gurobi, Lpsolver, Glpk,
CbC, SCIP or WBO.")
(build-system ocaml-build-system)
(arguments
`(#:configure-flags
- (list (string-append "SHELL="
- (assoc-ref %build-inputs "bash")
- "/bin/sh"))
+ ,#~(list (string-append "SHELL="
+ #+(file-append (canonical-package bash-minimal)
+ "/bin/sh")))
#:make-flags
- (list (string-append "LIBDIR="
- (assoc-ref %outputs "out")
- "/lib/ocaml/site-lib"))
+ ,#~(list (string-append "LIBDIR=" #$output "/lib/ocaml/site-lib"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-test-script
- branch core-updates-frozen updated (cd5b2cf -> 1afe3c5), guix-commits, 2021/08/20
- 02/13: gnu: ocamlbuild: Fix reference to output., guix-commits, 2021/08/20
- 03/13: gnu: ocamlcudf: Fix reference to output., guix-commits, 2021/08/20
- 05/13: gnu: ocaml-cmdliner: Fix reference to output., guix-commits, 2021/08/20
- 06/13: gnu: ocaml-opam-file-format: Fix reference to output., guix-commits, 2021/08/20
- 08/13: gnu: ocaml-down: Fix reference to output., guix-commits, 2021/08/20
- 07/13: gnu: camlzip: Fix reference to output., guix-commits, 2021/08/20
- 09/13: gnu: ocaml-frontc: Fix reference to output., guix-commits, 2021/08/20
- 10/13: gnu: omake: Fix reference to output., guix-commits, 2021/08/20
- 04/13: gnu: ocaml-dose3: Fix reference to inputs and output.,
guix-commits <=
- 12/13: gnu: dedukti: Fix reference to output., guix-commits, 2021/08/20
- 13/13: gnu: python: Build lib2to3/tests module., guix-commits, 2021/08/20
- 01/13: gnu: ocaml: Fix reference to output., guix-commits, 2021/08/20
- 11/13: gnu: ocaml4.07-piqi: Fix reference to inputs and output., guix-commits, 2021/08/20