summary refs log tree commit diff
diff options
context:
space:
mode:
authorRutger Helling <rhelling@mykolab.com>2017-12-27 10:09:26 +0100
committerRutger Helling <rhelling@mykolab.com>2017-12-27 10:24:49 +0100
commit84276503059d46c0a42240f8770f59090614d863 (patch)
tree8184b6e296fb36a4cae513cef9cb3b17c36f6b07
parente8e860a5596659e0ce2ed8911dfa78663e216bf9 (diff)
downloadguix-84276503059d46c0a42240f8770f59090614d863.tar.gz
gnu: qemu: Enable Samba support.
* gnu/packages/virtualization.scm (qemu)[arguments]: Change #:configure-flags to
a list, add --smbd flag.
[inputs]: Add samba.
-rw-r--r--gnu/packages/virtualization.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index a1709b0b6d..3a6950952c 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -52,6 +52,7 @@
   #:use-module (gnu packages protobuf)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-web)
+  #:use-module (gnu packages samba)
   #:use-module (gnu packages selinux)
   #:use-module (gnu packages sdl)
   #:use-module (gnu packages spice)
@@ -96,7 +97,10 @@
      '(;; Running tests in parallel can occasionally lead to failures, like:
        ;; boot_sector_test: assertion failed (signature == SIGNATURE): (0x00000000 == 0x0000dead)
        #:parallel-tests? #f
-       #:configure-flags '("--enable-usb-redir" "--enable-opengl")
+       #:configure-flags (list "--enable-usb-redir" "--enable-opengl"
+                               (string-append "--smbd="
+                                              (assoc-ref %build-inputs "samba")
+                                              "/sbin/smbd"))
        #:phases
        (modify-phases %standard-phases
          (replace 'configure
@@ -164,6 +168,7 @@
        ("ncurses" ,ncurses)
        ;; ("pciutils" ,pciutils)
        ("pixman" ,pixman)
+       ("samba" ,samba)
        ("sdl" ,sdl)
        ("spice" ,spice)
        ("usbredir" ,usbredir)