2020-11-11 12:53:37 +00:00
|
|
|
let
|
2021-08-15 15:07:19 +00:00
|
|
|
rust = import (builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/ad311f5bb5c5ef475985f1e0f264e831470a8510.tar.gz");
|
2021-07-20 21:09:18 +00:00
|
|
|
pkgs = import <nixpkgs> { overlays = [ rust ]; };
|
2021-08-23 20:30:34 +00:00
|
|
|
pkgs-latest = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/b4692e4197869c42c46d77e31af7e687e1892f55.tar.gz") {};
|
2020-11-11 12:53:37 +00:00
|
|
|
in
|
|
|
|
pkgs.mkShell {
|
|
|
|
buildInputs = [
|
2021-07-20 21:09:18 +00:00
|
|
|
# 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
|
2021-07-20 21:09:18 +00:00
|
|
|
pkgs-latest.xonsh
|
2021-09-17 19:59:46 +00:00
|
|
|
pkgs.bash
|
|
|
|
pkgs.dash
|
|
|
|
pkgs.powershell
|
|
|
|
pkgs.zsh
|
2021-07-20 21:09:18 +00:00
|
|
|
|
2021-09-27 23:22:27 +00:00
|
|
|
# Tools
|
2021-07-20 21:09:18 +00:00
|
|
|
pkgs-latest.cargo-audit
|
2021-09-27 23:22:27 +00:00
|
|
|
pkgs-latest.mandoc
|
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
|
2021-07-20 21:09:18 +00:00
|
|
|
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
|
|
|
];
|
2021-07-20 21:09:18 +00:00
|
|
|
|
2020-11-11 12:53:37 +00:00
|
|
|
RUST_BACKTRACE = 1;
|
|
|
|
}
|