diff options
| -rw-r--r-- | flake.nix | 25 |
1 files changed, 15 insertions, 10 deletions
@@ -11,7 +11,6 @@ outputs = { - self, nixpkgs, flake-utils, rust-overlay, @@ -24,15 +23,21 @@ pkgs = import nixpkgs { inherit system overlays; }; in { - devShell = pkgs.mkShell { - nativeBuildInputs = with pkgs; [ - rust-bin.nightly."2024-07-17".default - cargo-make - openssl.dev - pkg-config - cargo-watch - ]; - }; + devShell = + with pkgs; + mkShell.override + { + stdenv = stdenvAdapters.useMoldLinker clangStdenv; + } + { + nativeBuildInputs = [ + rust-bin.nightly."2024-07-17".default + cargo-make + openssl + pkg-config + cargo-watch + ]; + }; } ); } |