Created
July 2, 2023 00:55
-
-
Save gnu-enjoyer/6ad829d363a4bf95ef5160e8c48a6717 to your computer and use it in GitHub Desktop.
Rust Nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { pkgs ? import <nixpkgs> {} }: | |
| pkgs.mkShell { | |
| nativeBuildInputs = with pkgs; [ rustc cargo gcc rustfmt clippy ]; | |
| RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment