From d3fffd30dcf66a9da2e466ae6274547b090313e2 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 10 Oct 2023 13:56:33 +0200 Subject: use mold linker when invoking cargo manually (not in nix build scripts) --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 32c01616..f8d7d4df 100644 --- a/flake.nix +++ b/flake.nix @@ -48,6 +48,9 @@ pkgsSrc = nixpkgs; cargo2nixOverlay = cargo2nix.overlays.default; release = false; - }).workspaceShell { packages = [ pkgs.rustfmt ]; }; + }).workspaceShell { packages = with pkgs; [ + rustfmt + mold + ]; }; }); } -- cgit v1.2.3