Skip to content

Add --install-system-deps flag to automatically install system dependencies #352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

justice-adams-apple
Copy link

Add an install option --install-system-deps or -i so that users can auto-install the system dependencies required to install a toolchain on the given platform. This should help the install experience for docker users

@justice-adams-apple
Copy link
Author

cc @cmcgee1024 @shahmishal

}
}

try Swiftly.currentPlatform.runProgram(postInstallScript.components(separatedBy: " "))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (blocking): Generally, the post install script will be just "apt-get" or "yum" without the "sudo" or top-level command that runs the script as root. I don't think this will work unless the user is already root.

@justice-adams-apple justice-adams-apple marked this pull request as draft May 15, 2025 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants