summary refs log tree commit diff
path: root/gnu/packages/machine-learning.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-06-27 03:02:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-06-27 12:46:40 +0200
commit3929f46c99fcb7d633e340666ed9f285d7b27a0c (patch)
tree630d4e174cad4522ee009c3c6e455ba75dec3e12 /gnu/packages/machine-learning.scm
parent3107259f05818c251aec96571f0ddefcf86a1c87 (diff)
downloadguix-3929f46c99fcb7d633e340666ed9f285d7b27a0c.tar.gz
gnu: dlib: Fix tests.
* gnu/packages/machine-learning.scm (dlib)[native-inputs]: Add libnsl.
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r--gnu/packages/machine-learning.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index d9f7731632..d1025c23d6 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -49,6 +49,7 @@
   #:use-module (gnu packages maths)
   #:use-module (gnu packages mpi)
   #:use-module (gnu packages ocaml)
+  #:use-module (gnu packages onc-rpc)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
@@ -675,7 +676,9 @@ and a QP solver.")
                                          "/lib/libdlib.a"))
              #t)))))
     (native-inputs
-     `(("pkg-config" ,pkg-config)))
+     `(("pkg-config" ,pkg-config)
+       ;; For tests.
+       ("libnsl" ,libnsl)))
     (inputs
      `(("giflib" ,giflib)
        ("lapack" ,lapack)