[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: ocaml-num: Make stublibs a directory.
From: |
guix-commits |
Subject: |
01/02: gnu: ocaml-num: Make stublibs a directory. |
Date: |
Thu, 6 Jun 2019 09:12:55 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 38f06188dff161a36a0dcdcfea0f9c356a0d774c
Author: Julien Lepiller <address@hidden>
Date: Thu Jun 6 15:08:29 2019 +0200
gnu: ocaml-num: Make stublibs a directory.
* gnu/packages/ocaml.scm (ocaml-num)[arguments]: Fix 'fix-stublibs
phase.
---
gnu/packages/ocaml.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 338f980..08b4fcf 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -697,7 +697,8 @@ written in Objective Caml.")
(lambda* (#:key outputs #:allow-other-keys)
(format #t "~a~%" (find-files "." ".*.so"))
(let ((stubdir (string-append (assoc-ref outputs "out")
- "/lib/ocaml/site-lib")))
+ "/lib/ocaml/site-lib/stublibs")))
+ (delete-file stubdir)
(mkdir-p stubdir)
(install-file "src/dllnums.so" stubdir))
#t)))))