Skip to content

Add section in README about custom configs such as build properties #7

@simojo

Description

@simojo

Currently, if someone needs to manually tweak compiler flags or other platform-specific properties, there is no documented way to do so. It would be helpful to add something so that people in need of this could reference it. The owner of this repo has proposed to override the fixupPhase of a given arduino platform's derivation instead of creating an official method to do so as I proposed in #6.

Hi @simojo, thanks for taking the time to create this PR.
    
I don't think this is needed however, if you want to modify a platform you can do something like:
    
    
  ```
  `platforms.rp2040.rp2040."version".overrideAttrs (self: super: {
    fixupPhase = "...";
  })
  ```
  
  Which is what we do for something similar. I would accept a PR that updates the README to include this information 😄
  
  _Originally posted by @bouk in https://github.com/bouk/arduino-nix/issues/6#issuecomment-2512025493_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions