fix(mcp-gateway): fix postInstall heredoc syntax

Use mkdir + cat instead of install with /dev/stdout to avoid build hang.
This commit is contained in:
2026-05-06 19:50:53 +03:00
parent ea9cf8b588
commit d45b4242c8

View File

@@ -28,7 +28,8 @@ rustPlatform.buildRustPackage rec {
doCheck = false; doCheck = false;
postInstall = '' postInstall = ''
install -Dm644 /dev/stdout $out/lib/systemd/user/mcp-gateway.service <<EOF mkdir -p $out/lib/systemd/user
cat > $out/lib/systemd/user/mcp-gateway.service << 'EOF'
[Unit] [Unit]
Description=MCP Gateway Description=MCP Gateway
After=network-online.target After=network-online.target