Revert generated-file renaming; retain formatter exclusions

This commit is contained in:
Timothy J. Aveni
2026-09-15 20:13:10 -07:00
parent e557a057d8
commit 9358b5ed0e
8 changed files with 16 additions and 21 deletions
+2 -3
View File
@@ -437,7 +437,6 @@ const main = async () => {
for (const [executable, args] of [
["corepack", ["yarn", "plugin", "import", toolchain.nixifyPluginUrl]],
["corepack", ["yarn", "config", "set", "generateDefaultNix", "false"]],
["corepack", ["yarn", "config", "set", "nixExprPath", "yarn-project.gen.nix"]],
["corepack", ["yarn", "config", "set", "individualNixPackaging", "true"]],
["corepack", ["yarn", "install"]],
] as const) {
@@ -448,10 +447,10 @@ const main = async () => {
);
}
try {
await readFile(path.join(cwd, "yarn-project.gen.nix"));
await readFile(path.join(cwd, "yarn-project.nix"));
} catch {
throw new Error(
"Nixify did not generate yarn-project.gen.nix. It skips repositories under the OS temporary directory; use an ordinary workspace checkout and retry installation.",
"Nixify did not generate yarn-project.nix. It skips repositories under the OS temporary directory; use an ordinary workspace checkout and retry installation.",
);
}
await snapshotCommit(cwd);