summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-04-20 22:47:53 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-04-21 13:10:33 +0200
commit0ea5ef000d51bf53d7eb9dd0768c3d22f65c422f (patch)
tree5c8261ba83eef44cfb37fa86e146b5fb0b6f03dc /gnu
parent54616b0baef3f6a7fb31a329d8557cf111273d1f (diff)
downloadguix-0ea5ef000d51bf53d7eb9dd0768c3d22f65c422f.tar.gz
gnu: grpc-1.16.1: Correct input modifications.
abseil-cpp is not part of the native-inputs but of the inputs.

* gnu/packages/rpc.scm (grpc-1.16.1)[native-inputs]: Only replace protobuf.
[inputs]: Replace abseil-cpp.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rpc.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/rpc.scm b/gnu/packages/rpc.scm
index 6ab369bf97..a88c79f8b9 100644
--- a/gnu/packages/rpc.scm
+++ b/gnu/packages/rpc.scm
@@ -171,10 +171,12 @@ browsers to backend services.")
                               "src/core/lib/iomgr/ev_epollex_linux.cc")
                  (("gettid\\(")
                   "sys_gettid("))))))))
+    (inputs
+     (modify-inputs (package-inputs grpc)
+       (replace "abseil-cpp" abseil-cpp-20200923.3)))
     (native-inputs
      (modify-inputs (package-native-inputs grpc)
-       (delete "abseil-cpp" "protobuf")
-       (prepend abseil-cpp-20200923.3 protobuf-3.6)))))
+       (replace "protobuf" protobuf-3.6)))))
 
 (define-public python-grpc-stubs
   (package