zoxide/shell.nix
2021-04-05 12:01:24 +05:30

28 lines
663 B
Nix

let
pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz") {};
pkgs-master = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/470e4a9bbc98b171a7e733dfc9e62531f7b9ceca.tar.gz") {};
pkgs-python = pkgs.python3.withPackages (pkgs: [ pkgs.black pkgs.mypy pkgs.pylint ]);
in
pkgs.mkShell {
buildInputs = [
pkgs-master.cargo-audit
pkgs-master.nushell
pkgs-python
pkgs.bash
pkgs.cargo
pkgs.clippy
pkgs.dash
pkgs.fish
pkgs.fzf
pkgs.git
pkgs.powershell
pkgs.rustc
pkgs.rustfmt
pkgs.shellcheck
pkgs.shfmt
pkgs.xonsh
pkgs.zsh
];
RUST_BACKTRACE = 1;
}