From f969d3b829119ee14f84efb221e3773c4f8ebb6b Mon Sep 17 00:00:00 2001 From: Wael Nasreddine Date: Thu, 2 Jul 2020 22:43:30 -0700 Subject: [PATCH] nanopb: include C sources (#91055) --- pkgs/development/libraries/nanopb/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/nanopb/default.nix b/pkgs/development/libraries/nanopb/default.nix index a63d367b800d..cafc5c85f21a 100644 --- a/pkgs/development/libraries/nanopb/default.nix +++ b/pkgs/development/libraries/nanopb/default.nix @@ -50,6 +50,8 @@ in stdenv.mkDerivation rec { --subst-var-by python ${pythonRuntime}/bin/python \ --subst-var-by out $out chmod +x $out/bin/protoc-gen-nanopb + + cp ../pb_common.c ../pb_decode.c ../pb_encode.c $out/include/ ''; passthru.tests = {