Skip to content
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

flake: Fix devshell for darwin hosts #5368

Merged

Commits on Jan 2, 2023

  1. flake: Fix devshell for darwin hosts

    Runs of `cargo build` would fail with `ld: framework not found
    CoreFoundation` inside a devshell (`nix develop`) on a Darwin host.
    
    This is fixed with two changes:
    
    * Including the `CoreFoundation` package within the devshell's
      derivation.
    * Switching from `value` to `eval` so that we append to the `RUSTFLAGS`
      environment variable rather than overwriting it. `numtide/devshell`
      already exposes the `Library/Frameworks` path within the devshell
      derivation but it was being overwritten by the manual setting of
      `RUSTFLAGS` in `env`.
    the-mikedavis committed Jan 2, 2023
    Configuration menu
    Copy the full SHA
    50202ce View commit details
    Browse the repository at this point in the history