Rust: Difference between revisions

imported>Nilstrieb
m Add note about using the latest llvmPackages. llvmPackages as at LLVM 11, which is outdated and caused LLD segfaults for me when running the test suite for rust-lang/rust. llvmPackages_16 worked just fine.
imported>Srid
rust-nix-template update
Line 100: Line 100:
The [https://nixos.org/manual/nixpkgs/stable/#rust Nixpkgs manual] uses <code>buildRustPackage</code>.
The [https://nixos.org/manual/nixpkgs/stable/#rust Nixpkgs manual] uses <code>buildRustPackage</code>.


[https://www.srid.ca/rust-nix This] blog post shows how to do it using <code>crate2nix</code>.
[https://srid.ca/rust-nix This] blog post shows how to do it using <code>dream2nix</code>. A template repo is available here: https://github.com/srid/rust-nix-template


== Using overrideAttrs with Rust Packages ==
== Using overrideAttrs with Rust Packages ==