From 54f714324908aaf76a37a5ef3336990ef9136e25 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Mon, 4 Apr 2022 20:51:01 +0200 Subject: [PATCH] fix: remove redundant `rustc` from buildInputs (#1296) Move `ructc` & `cargo` to devInput, for the devShell. --- nix/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/nix/default.nix b/nix/default.nix index ad2f1de0..bee39780 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -30,7 +30,7 @@ flake-utils.lib.eachSystem [ name = "zellij"; pname = name; - root = toString ../.; + root = self; ignoreSource = [".git" "target" "example"]; @@ -47,21 +47,20 @@ flake-utils.lib.eachSystem [ rustc = rustToolchainToml; buildInputs = [ - rustToolchainToml - # in order to run tests pkgs.openssl ]; nativeBuildInputs = [ + rustToolchainToml + # for openssl/openssl-sys + pkgs.pkg-config + # generates manpages pkgs.mandown pkgs.installShellFiles pkgs.copyDesktopItems - - # for openssl/openssl-sys - pkgs.pkg-config ]; devInputs = [