diff options
author | a-kenji <aks.kenji@protonmail.com> | 2022-04-04 20:51:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 20:51:01 +0200 |
commit | 54f714324908aaf76a37a5ef3336990ef9136e25 (patch) | |
tree | 5ee221408a4814ae7c9d338f6eebeedb6a4bcd74 | |
parent | 25d79fd4291a5c09bdf9055a829d002c30ba56f5 (diff) |
fix: remove redundant `rustc` from buildInputs (#1296)
Move `ructc` & `cargo` to devInput, for the devShell.
-rw-r--r-- | nix/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/nix/default.nix b/nix/default.nix index ad2f1de02..bee397807 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 = [ |