diff --git a/flake.nix b/flake.nix index 5c15053..9d65444 100644 --- a/flake.nix +++ b/flake.nix @@ -77,6 +77,7 @@ inherit cargoArtifacts; CARGO_PROFILE = "dev"; CARGO_BUILD_TARGET = defaultTarget; + buildInputs = [ pkgs.rust-jemalloc-sys ]; } ); @@ -87,6 +88,7 @@ stdenv.cc pkgsStatic.stdenv.cc ]; + buildInputs = [ pkgsStatic.rust-jemalloc-sys ]; CARGO_PROFILE = "release"; CARGO_BUILD_TARGET = muslTarget; CARGO_BUILD_FLAGS = "-C target-feature=+crt-static"; @@ -232,7 +234,7 @@ cargo-bloat # cargo-license # cargo-nextest - cargo-outdated + # cargo-outdated # cargo-show-asm # samply # watchexec diff --git a/nix/crane.nix b/nix/crane.nix index de22070..315c3c0 100644 --- a/nix/crane.nix +++ b/nix/crane.nix @@ -5,7 +5,7 @@ ... }: let - inherit (pkgs) cacert rust-jemalloc-sys; + inherit (pkgs) cacert; unfilteredRoot = ../.; # TODO: decouple with filepath src = lib.fileset.toSource { @@ -23,8 +23,6 @@ let nativeBuildInputs = [ cacert ]; - buildInputs = [ rust-jemalloc-sys ]; - doCheck = false; # Test separately with cargo-nextest };