Gabriella439 / terraform-nixos-ng

Terraform modules for NixOS and spiritual successor to the terraform-nixos project
BSD 3-Clause "New" or "Revised" License
136 stars 10 forks source link

Support nix 2.19 #9

Closed dnaq closed 9 months ago

dnaq commented 9 months ago

The json output format has changed between nix 2.18 and nix 2.19, causing instantiate.sh to fail.

Given that the output format is unstable, and that we are only interested in the output path of the derivation, we can skip parsing the json output, since nix-path-info will return only the path if not called with the --json argument.

Closes #8

Gabriella439 commented 9 months ago

Thank you for fixing that! 😊