fix: remove redundant rustc from buildInputs (#1296)

Move `ructc` & `cargo` to devInput, for the devShell.
This commit is contained in:
a-kenji 2022-04-04 20:51:01 +02:00 committed by GitHub
parent 25d79fd429
commit 54f7143249
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ flake-utils.lib.eachSystem [
name = "zellij"; name = "zellij";
pname = name; pname = name;
root = toString ../.; root = self;
ignoreSource = [".git" "target" "example"]; ignoreSource = [".git" "target" "example"];
@ -47,21 +47,20 @@ flake-utils.lib.eachSystem [
rustc = rustToolchainToml; rustc = rustToolchainToml;
buildInputs = [ buildInputs = [
rustToolchainToml
# in order to run tests # in order to run tests
pkgs.openssl pkgs.openssl
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
rustToolchainToml
# for openssl/openssl-sys
pkgs.pkg-config
# generates manpages # generates manpages
pkgs.mandown pkgs.mandown
pkgs.installShellFiles pkgs.installShellFiles
pkgs.copyDesktopItems pkgs.copyDesktopItems
# for openssl/openssl-sys
pkgs.pkg-config
]; ];
devInputs = [ devInputs = [