Compare commits

...

10 Commits

2 changed files with 17 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
{
"version": 1,
"sourceRepo": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git",
"sourceCommit": "b384206b9c01a9ac50030a583d028b71291bc8c5",
"sourcePath": "quixos-instance/quixos-nix-helpers",
"exportName": "quixos-nix-helpers",
"mirrorRemote": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git"
}
+9
View File
@@ -611,6 +611,15 @@ EOF
else ''
runHook preInstall
install -Dm755 ${lib.escapeShellArg serverFile} "$out/libexec/${serverLibexecName}/${serverFile}"
# Browser entrypoints are runtime artifacts too. Package build scripts
# conventionally emit them as top-level .mjs files in dist/. Install
# the complete set so adding an entrypoint cannot produce a descriptor
# that resolves successfully but fails when Web Studio opens the file.
for browserModule in dist/*.mjs; do
if [ -f "$browserModule" ]; then
install -Dm644 "$browserModule" "$out/libexec/${serverLibexecName}/$(basename "$browserModule")"
fi
done
${lib.concatMapStringsSep "\n" installExtraFile extraFiles}
mkdir -p "$out/bin"
cat > "$out/bin/${serverBin}" <<EOF