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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user