From 401560b611f529f51745c6f80d1abffc4a50bdd6 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Sun, 13 Feb 2022 13:29:07 +0100 Subject: [PATCH] Move cargo plugins to nativeBuildInputs --- flake.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 14408fa..572c326 100644 --- a/flake.nix +++ b/flake.nix @@ -54,9 +54,8 @@ }; devShell = with pkgs; mkShell { - nativeBuildInputs = [ jq ] ++ nativeBuildInputs; - buildInputs = [ cargo-edit cargo-expand cargo-diet cargo-feature cargo-outdated pre-commit ] ++ buildInputs; - RUST_SRC_PATH = rustPlatform.rustLibSrc; + inherit buildInputs; + nativeBuildInputs = [ cargo-edit cargo-expand cargo-diet cargo-feature cargo-outdated pre-commit jq ] ++ nativeBuildInputs; }; });