zoxide/shell.nix

43 lines
885 B
Nix
Raw Normal View History

2020-11-11 12:53:37 +00:00
let
2021-10-11 20:05:24 +00:00
rust = import (builtins.fetchTarball
2022-02-25 04:19:45 +00:00
"https://github.com/oxalica/rust-overlay/archive/46d8d20fce510c6a25fa66f36e31f207f6ea49e4.tar.gz");
2021-12-05 08:58:31 +00:00
pkgs = import (builtins.fetchTarball
"https://github.com/NixOS/nixpkgs/archive/d19a9162c848517cfc9437f10945b736d718b948.tar.gz") {
2021-12-05 08:58:31 +00:00
overlays = [ rust ];
};
2021-10-11 20:05:24 +00:00
in pkgs.mkShell {
2020-11-11 12:53:37 +00:00
buildInputs = [
# Rust
pkgs.rust-bin.stable.latest.default
# Shells
2021-09-17 19:59:46 +00:00
pkgs.bash
pkgs.dash
2021-12-05 08:58:31 +00:00
pkgs.elvish
pkgs.fish
pkgs.nushell
2021-09-17 19:59:46 +00:00
pkgs.powershell
2021-12-05 08:58:31 +00:00
pkgs.xonsh
2021-09-17 19:59:46 +00:00
pkgs.zsh
2021-09-27 23:22:27 +00:00
# Tools
2021-12-05 08:58:31 +00:00
pkgs.cargo-audit
pkgs.mandoc
pkgs.nixfmt
pkgs.nodePackages.markdownlint-cli
pkgs.python3Packages.black
pkgs.python3Packages.mypy
pkgs.python3Packages.pylint
pkgs.shellcheck
pkgs.shfmt
# Dependencies
pkgs.cacert
2021-09-17 19:59:46 +00:00
pkgs.fzf
pkgs.git
2021-12-05 08:58:31 +00:00
pkgs.libiconv
2020-11-11 12:53:37 +00:00
];
2020-11-11 12:53:37 +00:00
RUST_BACKTRACE = 1;
}