From b3d31b37b3f54f02bbc3a871f6b41ed7aee39c21 Mon Sep 17 00:00:00 2001 From: "Timothy J. Aveni" Date: Tue, 15 Sep 2026 17:32:53 -0700 Subject: [PATCH] Mark first-party generated files with .gen; preserve third-party conventions --- quixos-package-helpers.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/quixos-package-helpers.nix b/quixos-package-helpers.nix index c042e22..faae742 100644 --- a/quixos-package-helpers.nix +++ b/quixos-package-helpers.nix @@ -40,7 +40,7 @@ let if match2 == null then null else builtins.elemAt match2 0; schemaBase = - (pkgs.callPackage "${schemaDir}/yarn-project.nix" { + (pkgs.callPackage "${schemaDir}/yarn-project.gen.nix" { inherit nodejs git; }) { @@ -276,7 +276,7 @@ let packageName = packageJson.name or "quixos-package"; base = - (pkgs.callPackage "${srcDir}/yarn-project.nix" { + (pkgs.callPackage "${srcDir}/yarn-project.gen.nix" { nodejs = nodejs'; git = git'; }) @@ -628,7 +628,7 @@ let resources = bindingConfig.resources or [ ]; }); bindingOutput = - if bindingConfig == null then "src/gen/qx.ts" else bindingConfig.output or "src/gen/qx.ts"; + if bindingConfig == null then "src/gen/qx.gen.ts" else bindingConfig.output or "src/gen/qx.gen.ts"; authoringCheck = builtins.fromJSON (builtins.readFile "${packageRoot}/quixos.check.json"); bindingOptionsFile = if bindingConfig == null then @@ -709,7 +709,7 @@ let serverLibexecName = installConfig.libexecName or (lib.strings.sanitizeDerivationName packageNameFinal); serverFile = installConfig.serverFile or bundleOutfile; - descriptorPath = installConfig.descriptorPath or "descriptor.quixos-package.txtpb"; + descriptorPath = installConfig.descriptorPath or "descriptor.quixos-package.gen.txtpb"; extraFiles = installConfig.extraFiles or [ ]; installExtraFile = file: @@ -752,7 +752,7 @@ let runHook postInstall ''; - project = (pkgs.callPackage "${packageRoot}/yarn-project.nix" { inherit nodejs; }) { + project = (pkgs.callPackage "${packageRoot}/yarn-project.gen.nix" { inherit nodejs; }) { src = packageRoot; overrideAttrs = old: