~ruther/guix-local

ba4aca3ae48dcaf904297573fc210ff4a4d771e3 — Ludovic Courtès 8 years ago 6d9a859
gnu: util-linux: Fix cross-compilation.

* gnu/packages/linux.scm (util-linux)[inputs]: Add NET-BASE
when (%current-target-system) is true.  Fixes cross-compilation.
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +6 -1
@@ 554,7 554,12 @@ providing the system administrator with some help in common tasks.")
                                   (find-files "lib" "\\.a$")))
                       #t))))))
    (inputs `(("zlib" ,zlib)
              ("ncurses" ,ncurses)))
              ("ncurses" ,ncurses)

              ;; XXX: This is so that the 'pre-check' phase can find it.
              ,@(if (%current-target-system)
                    `(("net-base" ,net-base))
                    '())))
    (native-inputs
     `(("perl" ,perl)
       ("net-base" ,net-base)))                   ;for tests