Compare commits

...

4 Commits

2 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"version": 1, "version": 1,
"sourceRepo": "https://gitea.internal.quixos.org/quixos/quixos.git", "sourceRepo": "https://gitea.internal.quixos.org/quixos/quixos.git",
"sourceCommit": "6b91014ff1d6c9c54d0782f586935e694f9ee72f", "sourceCommit": "cc6e5f30a0b76e9df1f6b76c960d0d3da46fe5a8",
"sourcePath": "quixos-protocol", "sourcePath": "quixos-protocol",
"exportName": "quixos-protocol", "exportName": "quixos-protocol",
"mirrorRemote": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-protocol.git" "mirrorRemote": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-protocol.git"
+13 -6
View File
@@ -407,12 +407,19 @@ pkgs.runCommand (if contractOnly then "qx-contract" else "qx-checked-candidate")
${pkgs.nodejs_24}/bin/node ${./check-execution.mjs} \ ${pkgs.nodejs_24}/bin/node ${./check-execution.mjs} \
${protocol}/libexec/quixos-protocol/execution-world.mjs \ ${protocol}/libexec/quixos-protocol/execution-world.mjs \
"$out/execution-plan.json" "$out/checks.json" "$out" "$out/execution-plan.json" "$out/checks.json" "$out"
mkdir -p "$out/bin" # The optional development host is acquired only when explicitly run.
cat > "$out/bin/run-isolated" <<EOF # Embedding its executable here made every source check build Web Studio
#!${pkgs.runtimeShell} # and a full host even when only checked Package outputs were consumed.
exec ${runtimePackages.camino-isolated-workspace}/bin/camino-isolated-workspace "$out" "\$@" cp ${
EOF pkgs.writeText "qx-isolated-runtime.json" (
chmod +x "$out/bin/run-isolated" builtins.toJSON {
codec = "quixos-isolated-runtime/1";
source = {
inherit (root.lock.quixos) repository commit;
};
}
)
} "$out/isolated-runtime.json"
''} ''}
''} ''}
${pkgs.lib.optionalString ( ${pkgs.lib.optionalString (