diff mbox

[4/4] Add fs-search paths to util-linux

Message ID 1478812461-18483-4-git-send-email-jmd@gnu.org
State New
Headers show

Commit Message

John Darrington Nov. 10, 2016, 9:14 p.m. UTC
* gnu/packages/linux.scm (util-linux) [arguments]: Add configure flag --enable-fs-paths=.
[inputs]: Add nfs-utils.
---
 gnu/packages/bash.scm  | 1 +
 gnu/packages/guile.scm | 1 +
 gnu/packages/linux.scm | 9 ++++++++-
 3 files changed, 10 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index 6c3c0ba..d37b676 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -23,6 +23,7 @@ 
   #:use-module (gnu packages)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages readline)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages bison)
   #:use-module (guix packages)
   #:use-module (guix download)
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 8b17aeb..8bde0e3 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -37,6 +37,7 @@ 
   #:use-module (gnu packages flex)
   #:use-module (gnu packages libunistring)
   #:use-module (gnu packages linux-base)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages pkg-config)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ac7277c..d07fb66 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -61,6 +61,7 @@ 
   #:use-module (gnu packages linux-base)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages nfs)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pciutils)
   #:use-module (gnu packages pkg-config)
@@ -439,6 +440,11 @@  providing the system administrator with some help in common tasks.")
     (arguments
      `(#:configure-flags (list "--disable-use-tty-group"
 
+                               ;; FIXME: Add path to  mount.fuse here
+                               (string-append "--enable-fs-paths-default="
+                                              (assoc-ref %build-inputs "nfs-utils")
+                                              "/sbin")
+
                                ;; Install completions where our
                                ;; bash-completion package expects them.
                                (string-append "--with-bashcompletiondir="
@@ -478,7 +484,8 @@  providing the system administrator with some help in common tasks.")
                                    (find-files "lib" "\\.a$")))
                        #t))))))
     (inputs `(("zlib" ,zlib)
-              ("ncurses" ,ncurses)))
+              ("ncurses" ,ncurses)
+              ("nfs-utils" ,nfs-utils)))
     (native-inputs
      `(("perl" ,perl)
        ("net-base" ,net-base)))))                   ;for tests