-
Notifications
You must be signed in to change notification settings - Fork 255
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
Use latest Deno 2 version #1243
base: main
Are you sure you want to change the base?
Conversation
This pull request is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 5 days |
This pull request was closed for lack of activity. Feel free to reopen later. |
This is not stale. How can I reopen it? |
Sorry about that! we'll be looking at this after we are back from winter break! |
@@ -46,6 +49,8 @@ pub struct BuildPlan { | |||
|
|||
pub phases: Option<Phases>, | |||
|
|||
pub pinned_archive: Option<String>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not necessary as phases already support setting the Nix archive to a specific version, https://github.com/railwayapp/nixpacks/blob/7653b2f1a8b7c4532adb51d1c8f7f20cbd26386c/src/nixpacks/plan/phase.rs/#L207.
See this as an example
@@ -13,6 +13,9 @@ pub const NIXPKGS_ARCHIVE: &str = "5148520bfab61f99fd25fb9ff7bfbb50dad3c9db"; | |||
// Version of the Nix archive that uses OpenSSL 1.1 | |||
pub const NIXPACKS_ARCHIVE_LEGACY_OPENSSL: &str = "a0b7e70db7a55088d3de0cc370a59f9fbcc906c3"; | |||
|
|||
// Version of the Nix archive with the latest Deno | |||
pub const NIXPACKS_ARCHIVE_LATEST_DENO: &str = "734af41a2b6a21fb9bf70d9f170563b6932364bb"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be moved to the deno provider file
This also adds support to
BuildPlan::pin
for pinning the build plan to any custom archive.