zoxide/shell.nix

43 lines
1008 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
"https://github.com/oxalica/rust-overlay/archive/ad311f5bb5c5ef475985f1e0f264e831470a8510.tar.gz");
pkgs = import <nixpkgs> { overlays = [ rust ]; };
2021-10-29 18:31:25 +00:00
pkgs-latest = import (builtins.fetchTarball
2021-10-20 18:31:06 +00:00
"https://github.com/NixOS/nixpkgs/archive/3ef1d2a9602c18f8742e1fb63d5ae9867092e3d6.tar.gz")
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
pkgs-latest.elvish
pkgs-latest.fish
2021-09-17 19:59:46 +00:00
pkgs-latest.nushell
pkgs-latest.xonsh
2021-09-17 19:59:46 +00:00
pkgs.bash
pkgs.dash
pkgs.powershell
pkgs.zsh
2021-09-27 23:22:27 +00:00
# Tools
pkgs-latest.cargo-audit
2021-09-27 23:22:27 +00:00
pkgs-latest.mandoc
2021-10-11 20:05:24 +00:00
pkgs-latest.nixfmt
2021-09-17 19:59:46 +00:00
pkgs-latest.nodePackages.markdownlint-cli
pkgs-latest.python3Packages.black
pkgs-latest.python3Packages.mypy
pkgs-latest.python3Packages.pylint
pkgs-latest.shellcheck
pkgs-latest.shfmt
# Dependencies
pkgs.cacert
pkgs.libiconv
2021-09-17 19:59:46 +00:00
pkgs.fzf
pkgs.git
2020-11-11 12:53:37 +00:00
];
2020-11-11 12:53:37 +00:00
RUST_BACKTRACE = 1;
}