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;
|
||||
|
||||
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]
|
||||
Description=MCP Gateway
|
||||
After=network-online.target
|
||||
|
||||
Reference in New Issue
Block a user