Subject: [PATCH] gnu: criu: Propagate protobuf-c.
From: Zhu Zihao <[email-masked]>
To: [email-masked]
Date: Wed, 22 Dec 2021 18:58:49 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

From a23910e78d6aa7d12922e85df80b3e46f95984da Mon Sep 17 00:00:00 2001
From: Zhu Zihao <[email-masked]>
Date: Wed, 22 Dec 2021 18:53:49 +0800
Subject: [PATCH] gnu: criu: Propagate protobuf-c.

The header of criu references to protobuf-c, including them in source files
would require protobuf-c available in compilation environment.

* gnu/packages/virtualization.scm (criu): Move protobuf-c from native-inputs
to propagate-inputs.
---
 gnu/packages/virtualization.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 839b12d040..c879118c52 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1600,11 +1600,12 @@ (define-public criu
     (native-inputs
      (list pkg-config
            perl
-           protobuf-c
            asciidoc
            xmlto
            docbook-xml
            docbook-xsl))
+    (propagate-inputs
+     (list protobuf-c))
     (home-page "https://criu.org")
     (synopsis "Checkpoint and restore in user space")
     (description "Using this tool, you can freeze a running application (or
-- 
2.34.0

-- 
Retrieve my PGP public key:

  gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F

Zihao