Skip to content

Add cross-compilation environment variables (mkCrossToolchainEnv) to devshell by default #886

@axelkar

Description

@axelkar

Is your feature request related to a problem? Please describe.
I'm trying to build a Rust project manually with cargo b, but it requires the MinGW pthreads fix, which is provided by mkCrossToolchainEnv.

Describe the solution you'd like
Add them by default, like in mkCargoDerivation.

Describe alternatives you've considered
Manually use mkCrossToolchainEnv and take the wanted environment variables? I can't figure out a way to get the configureCargoCommonVars hook to run in devshell

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions