DavHau
DavHau
For the nixpkgs support we also have an open issue here: https://github.com/nix-community/dream2nix/issues/170
> The [docs for adding a new language](https://nix-community.github.io/dream2nix/contributing/contributing.html) seem very good by the way and inspire confidence since using the niv example you can get it to a edit-run feedback...
> This needs a release notes entry. Done > The VM tests should be changed to a functional test since those are much faster. This wouldn't make much sense here,...
Generally I believe this is ready. @edolstra If I'm missing something that would allow me to add a meaningful functional test instead of the nixos tests, please let me know....
Like mentioned in https://github.com/NixOS/nix/issues/4910#issuecomment-1214148665, we might want to consider to encode the yaml version into the function somehow. Instead of `fromYAML` it could be named `fromYAML1_2`. In case the YAML...
> Like mentioned in [#4910 (comment)](https://github.com/NixOS/nix/issues/4910#issuecomment-1214148665), we might want to consider to encode the yaml version into the function somehow. Instead of `fromYAML` it could be named `fromYAML1_2`. In case...
There is [StrictYAML](https://hitchdev.com/strictyaml/) that parses and validates a [restricted subset](https://hitchdev.com/strictyaml/features-removed) of the [YAML](https://hitchdev.com/strictyaml/what-is-yaml) specification. The reference implementation is in python, but there is also one [in rust](https://github.com/fralalonde/strict-yaml-rust). I could not...
Have you seen https://github.com/nix-community/nixos-generators/pull/241 It allows you to add all formats to your system by importing a single module. I believe https://github.com/nix-community/nixos-generators/pull/241 is even more ergonomic.
Your example reminds me that a missing feature of #241 is to pass your own modules. I'll add that asap. Assuming we have that features, then the whole flake could...
I just opened https://github.com/nix-community/nixos-generators/pull/256 which implements the customization options similar to the example above and also allows adding new formats. It now also exposes `nixosModules.all-formats`