diff options
author | Alex <alex@adnab.me> | 2023-10-18 10:02:34 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2023-10-18 10:02:34 +0000 |
commit | a5e8ffeb63a193e5b0e020e4c014687e57f85c23 (patch) | |
tree | 52351294b31581e0823bafa67b396af627088975 /shell.nix | |
parent | b53510c5b74bc8d52e25bcdb517b38fa60f67a67 (diff) | |
parent | d3fffd30dcf66a9da2e466ae6274547b090313e2 (diff) | |
download | garage-a5e8ffeb63a193e5b0e020e4c014687e57f85c23.tar.gz garage-a5e8ffeb63a193e5b0e020e4c014687e57f85c23.zip |
Merge pull request 'use mold linker when invoking cargo manually (not in nix build scripts)' (#646) from mold-linker into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/646
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -15,16 +15,17 @@ in { # --- Rust Shell --- # Use it to compile Garage rust = pkgs.mkShell { - nativeBuildInputs = [ - #pkgs.rustPlatform.rust.rustc - pkgs.rustPlatform.rust.cargo - #pkgs.clippy - pkgs.rustfmt - #pkgs.perl - #pkgs.protobuf - #pkgs.pkg-config - #pkgs.openssl - pkgs.file + nativeBuildInputs = with pkgs; [ + #rustPlatform.rust.rustc + rustPlatform.rust.cargo + mold + #clippy + rustfmt + #perl + #protobuf + #pkg-config + #openssl + file #cargo2nix.packages.x86_64-linux.cargo2nix ]; }; |