Skip to content

Commit

Permalink
prepend PATH during phase execution (#902)
Browse files Browse the repository at this point in the history
  • Loading branch information
coffee-cup authored May 24, 2023
1 parent 1274216 commit c01e679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nixpacks/builder/docker/dockerfile_generation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ impl DockerfileGenerator for Phase {
// Ensure paths are available in the environment
let build_path = if let Some(paths) = &phase.paths {
let joined_paths = paths.join(":");
format!("ENV PATH {joined_paths}:$PATH")
format!("ENV NIXPACKS_PATH {joined_paths}:$NIXPACKS_PATH")
} else {
String::new()
};
Expand Down

0 comments on commit c01e679

Please sign in to comment.