tweag / nickel

Better configuration for less
https://nickel-lang.org/
MIT License
2.41k stars 90 forks source link

Nickel use-cases: tracking issue #1166

Open yannham opened 1 year ago

yannham commented 1 year ago

Nickel potential applications

This issue gathers requests and ideas about specific Nickel usages (Cabal, Terraform, JSON Schema, etc.) scattered across the issue tracker or external documents.

matthew-healy commented 1 year ago

I'd like to find a way to maintain GitHub Actions in Nickel, though as @aspiwack pointed out when I raised this in a review meeting, right now it's likely impossible to avoid the need to export the .yaml files before committing.

jaen commented 1 year ago

Nickel frontend for https://dagger.io/, maybe?

It used to be CUE-first, but now they have pluggable SDKs based on GraphQL. The official SDKs are for normal programming languages (they might or might not update the CUE one), but one based on a configuration language could probably be nice.

arjinfo commented 1 year ago

generate all the things like: https://hofstadter.io/

ento commented 1 year ago

Terraform data source that lets you provide data to modules that expect JSON or other structured data from a Nickel file. This would be analogous to this data source for dhall.

Examples

emeinhardt commented 2 months ago

Nickel seems to overlap with Dhall in a lot of ways, and there are potential use cases that Dhall almost is a good fit for, but which are out of Dhall's stated scope:

Language-specific libraries supporting Dhall make typesafe (de)serialization between Dhall and ADTs in any given language that supports them look pretty seamless and more ergonomic than munging e.g. JSON...but Dhall's limits on string functions and recursive types bound its usefulness here: Nickel has neither of those a priori restrictions, though.