Signed-off-by: Seongmin Lee git@boltless.me
+3
flake.nix
+3
flake.nix
···
284
284
rm -f api/tangled/*
285
285
lexgen --build-file lexicon-build-config.json lexicons
286
286
sed -i.bak 's/\tutil/\/\/\tutil/' api/tangled/*
287
+
# lexgen generates incomplete Marshaler/Unmarshaler for union types
288
+
find api/tangled/*.go -not -name "cbor_gen.go" -exec \
289
+
sed -i '/^func.*\(MarshalCBOR\|UnmarshalCBOR\)/,/^}/ s/^/\/\/ /' {} +
287
290
${pkgs.gotools}/bin/goimports -w api/tangled/*
288
291
go run ./cmd/cborgen/
289
292
lexgen --build-file lexicon-build-config.json lexicons
History
1 round
2 comments
boltless.me
submitted
#0
1 commit
expand
collapse
nix: comment out cbor marshaler/unmarshaler before goimport check
Signed-off-by: Seongmin Lee <git@boltless.me>
3/3 success
expand
collapse
expand 2 comments
I guess it is just expected behavior in current version. I'm just waiting for ongoing lexgen rewrite to be finished.
pull request successfully merged
strange that it does this! might be worth opening an issue for on upstream.