Saturday, July 01, 2023

Re: [new] lang/nickel

Le Fri, 30 Jun 2023 19:20:26 +0200,
Solene Rapenne <solene@perso.pw> a écrit :

> hi, this is a port for nickel, a language using contracts to generate
> validated configuration files, it's meant to be easy to extend while
> allow the developers to enforce a lot of check in the inputs to ensure
> the insert data will be valid
>
> if you are curious, I gathered a few links
>
> announcement for 1.0.0:
> https://www.tweag.io/blog/2023-05-17-nickel-1.0-release/
>
> announcing 1.0.0 + tutorial in video:
> https://www.youtube.com/watch?v=DzuoYmA2pd4
>
> a tutorial (that I wrote):
> https://nickel-lang.org/user-manual/tutorial

kn@ reported the test are not passing, I forgot to try before sending.

However, I have an error when running tests, and I don't know if
modcargo should do something automagic with cargo to run tests?


solene@dev /u/p/l/nickel> make test
===> Regression tests for nickel-1.0.0
error: failed to get `ansi_term` as a dependency of package
`nickel-lang v1.0.0 (/usr/ports/pobj/nickel-1.0.0/nickel-1.0.0)`

Caused by:
failed to load source for dependency `ansi_term`

Caused by:
Unable to update registry `crates-io`

Caused by:
failed to update replaced source registry `crates-io`

Caused by:
failed to read root of directory source:
/tmp/pobj/nickel-1.0.0/nickel-1.0.0/modcargo-crates

Caused by:
No such file or directory (os error 2)
*** Error 101 in . (/usr/ports/devel/cargo/cargo.port.mk:387 'do-test':
@cd /usr/ports/pobj/nickel-1.0.0/nickel-1.0.0 && /usr/bin/env -i
POR...) *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3002
'/usr/ports/pobj/nickel-1.0.0/build-amd64/.test_done': @cd
/usr/ports/lang/n...) *** Error 2 in /usr/ports/lang/nickel
(/usr/ports/infrastructure/mk/bsd.port.mk:2612 'test':
@lock=nickel-1.0.0; export _LOCKS_HELD=" nicke...)

No comments:

Post a Comment