// Build the Nix args out of inputs from the Actions environment export function makeNixCommandArgs( nixOptions: string[], flakeInputs: string[], commitMessage: string, ): string[] { const flakeInputFlags = flakeInputs.flatMap((input) => [ "--update-input", input, ]); // NOTE(cole-h): In Nix versions 2.23.0 and later, `commit-lockfile-summary` became an alias to // the setting `commit-lock-file-summary` (https://github.com/NixOS/nix/pull/10691), and Nix does // not treat aliases the same as their "real" setting by requiring setting aliases to be // configured via `--option