Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
rustup: add helper to bring dev pkgs in for compilition #75453
Motivation for this change
This PR introduces a helper function providing a customized
This wrapper seems rather opinionated. It uses rustup instead of rustc. It only takes pkg-config's setup-hook into account but ignores all environment variables set are set by other packages i.e CC/CXX/NIX_CFLAGS_COMPILE/NIX_LDFLAGS/CMAKE_LIBRARY_PATH. Also one would need to either pack all non-rust dependencies into this wrapper or use a nix-shell again to get additional dependencies. This does not quite fit the design of nix and nixpkgs. I don't think we should have it in nixpkgs.