summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-07-17 23:40:23 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-07-18 00:11:26 +0200
commit07420707949a6d0350f50095dcb1f58cbf013d72 (patch)
tree59e7737f8e4eab799c8d867741099d7349b937f4
parentefd793b4848c092a203b3ecffe35d84762877d73 (diff)
downloadnixpkgs-07420707949a6d0350f50095dcb1f58cbf013d72.tar
nixpkgs-07420707949a6d0350f50095dcb1f58cbf013d72.tar.gz
nixpkgs-07420707949a6d0350f50095dcb1f58cbf013d72.tar.bz2
nixpkgs-07420707949a6d0350f50095dcb1f58cbf013d72.tar.lz
nixpkgs-07420707949a6d0350f50095dcb1f58cbf013d72.tar.xz
nixpkgs-07420707949a6d0350f50095dcb1f58cbf013d72.tar.zst
nixpkgs-07420707949a6d0350f50095dcb1f58cbf013d72.zip
nanopb/test-message-with-{annotations,options}: fix typo
-rw-r--r--pkgs/development/libraries/nanopb/test-message-with-annotations/default.nix4
-rw-r--r--pkgs/development/libraries/nanopb/test-message-with-options/default.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/nanopb/test-message-with-annotations/default.nix b/pkgs/development/libraries/nanopb/test-message-with-annotations/default.nix
index 618d7c521ce..cda58608d6c 100644
--- a/pkgs/development/libraries/nanopb/test-message-with-annotations/default.nix
+++ b/pkgs/development/libraries/nanopb/test-message-with-annotations/default.nix
@@ -16,8 +16,8 @@ stdenv.mkDerivation {
     ${protobuf}/bin/protoc --proto_path=. --proto_path=${nanopb}/share/nanopb/generator/proto --plugin=protoc-gen-nanopb=${nanopb}/bin/protoc-gen-nanopb --nanopb_out=$out withannotations.proto
   '';
 
-  docheck = true;
-  checkphase = ''
+  doCheck = true;
+  checkPhase = ''
     grep -q WithAnnotations $out/withannotations.pb.c || (echo "error: WithAnnotations not found in $out/withannotations.pb.c"; exit 1)
     grep -q WithAnnotations $out/withannotations.pb.h || (echo "error: WithAnnotations not found in $out/withannotations.pb.h"; exit 1)
     grep -q "pb_byte_t uuid\[16\]" $out/withannotations.pb.h || (echo "error: uuid is not of type pb_byte_t and of size 16 in $out/withannotations.pb.h"; exit 1)
diff --git a/pkgs/development/libraries/nanopb/test-message-with-options/default.nix b/pkgs/development/libraries/nanopb/test-message-with-options/default.nix
index c15b51f7197..352ae801500 100644
--- a/pkgs/development/libraries/nanopb/test-message-with-options/default.nix
+++ b/pkgs/development/libraries/nanopb/test-message-with-options/default.nix
@@ -16,8 +16,8 @@ stdenv.mkDerivation {
     ${protobuf}/bin/protoc --plugin=protoc-gen-nanopb=${nanopb}/bin/protoc-gen-nanopb --nanopb_out=$out withoptions.proto
   '';
 
-  docheck = true;
-  checkphase = ''
+  doCheck = true;
+  checkPhase = ''
     grep -q WithOptions $out/withoptions.pb.c || (echo "error: WithOptions not found in $out/withoptions.pb.c"; exit 1)
     grep -q WithOptions $out/withoptions.pb.h || (echo "error: WithOptions not found in $out/withoptions.pb.h"; exit 1)
     grep -q "pb_byte_t uuid\[16\]" $out/withoptions.pb.h || (echo "error: uuid is not of type pb_byte_t and of size 16 in $out/withoptions.pb.h"; exit 1)