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 | add: `musl` target to `rust-toolchain` (diff) | |
| download | sl0ppij-54f714324908aaf76a37a5ef3336990ef9136e25.tar.gz sl0ppij-54f714324908aaf76a37a5ef3336990ef9136e25.tar.xz sl0ppij-54f714324908aaf76a37a5ef3336990ef9136e25.zip | |
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 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 = [ |
