pay-respects: fix modules not building and strip api keys (#505155)
This commit is contained in:
@@ -17,6 +17,23 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
cargoHash = "sha256-dCZGPIipSotcA7DT3VvTCYq8+DxWHi5cp/fwh/44Jwc=";
|
||||
|
||||
env = {
|
||||
_DEF_PR_AI_API_KEY = "";
|
||||
_DEF_PR_AI_URL = "";
|
||||
_DEF_PR_AI_MODEL = "";
|
||||
};
|
||||
|
||||
cargoBuildFlags = [
|
||||
"-p pay-respects"
|
||||
"-p pay-respects-module-runtime-rules"
|
||||
"-p pay-respects-module-request-ai"
|
||||
];
|
||||
cargoTestFlags = [
|
||||
"-p pay-respects"
|
||||
"-p pay-respects-module-runtime-rules"
|
||||
"-p pay-respects-module-request-ai"
|
||||
];
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user