nix.renderNixExpression
import { nix } from "https://garn.io/ts/v0.0.19/mod.ts";
const { renderNixExpression } = nix;
Converts a NixExpression
to a string representing that Nix expression.
It is advised to defer calling this unless actually serializing to disk.
This way Nix expressions remain as the type NixExpression
.