aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix25
1 files changed, 15 insertions, 10 deletions
diff --git a/flake.nix b/flake.nix
index 2f1c310..6ca1c75 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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
+ ];
+ };
}
);
}