summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2022-04-04 20:51:01 +0200
committerGitHub <noreply@github.com>2022-04-04 20:51:01 +0200
commit54f714324908aaf76a37a5ef3336990ef9136e25 (patch)
tree5ee221408a4814ae7c9d338f6eebeedb6a4bcd74
parent25d79fd4291a5c09bdf9055a829d002c30ba56f5 (diff)
fix: remove redundant `rustc` from buildInputs (#1296)
Move `ructc` & `cargo` to devInput, for the devShell.
-rw-r--r--nix/default.nix11
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 = [