summary refs log tree commit diff
path: root/gnu/packages/onc-rpc.scm
diff options
context:
space:
mode:
authorZ572 <873216071@qq.com>2022-12-01 16:43:34 +0800
committerLudovic Courtès <ludo@gnu.org>2022-12-05 22:22:20 +0100
commit517618b2401c2ab5861e63df60ae49918b94f727 (patch)
tree324bfb277db67d216f09b4e86fddabe5dd582607 /gnu/packages/onc-rpc.scm
parent7f380a2e26f59ef99b4a02d65c67192a9ad24cb5 (diff)
downloadguix-517618b2401c2ab5861e63df60ae49918b94f727.tar.gz
gnu: libtirpc: fix cross-compilation.
* gnu/packages/onc-rpc.scm (libtirpc)[native-inputs]: add mit-krb5.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/onc-rpc.scm')
-rw-r--r--gnu/packages/onc-rpc.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/onc-rpc.scm b/gnu/packages/onc-rpc.scm
index 873dc54c30..4495622191 100644
--- a/gnu/packages/onc-rpc.scm
+++ b/gnu/packages/onc-rpc.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2022 Zheng Junjie <873216071@qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -63,6 +64,7 @@
                             "tirpc/netconfig.h")
                (("/etc/netconfig") (string-append (assoc-ref outputs "out")
                                                   "/etc/netconfig"))))))))
+    (native-inputs (list mit-krb5)) ;; for cross-compilation
     (inputs (list mit-krb5))
     (home-page "https://sourceforge.net/projects/libtirpc/")
     (synopsis "Transport-independent Sun/ONC RPC implementation")