zoxide/shell.nix

30 lines
558 B
Nix
Raw Normal View History

2020-11-11 12:53:37 +00:00
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz") {} }:
let
2021-03-29 15:44:30 +00:00
python-pkgs = pkgs.python3.withPackages (pkgs: [ pkgs.black pkgs.mypy pkgs.pylint ]);
2020-11-11 12:53:37 +00:00
in
pkgs.mkShell {
name = "env";
buildInputs = [
pkgs.bash
2021-03-29 15:44:30 +00:00
pkgs.cargo
pkgs.cargo-audit
2020-11-11 12:53:37 +00:00
pkgs.dash
pkgs.fish
pkgs.fzf
pkgs.git
2021-03-31 16:45:43 +00:00
# pkgs.nushell # FIXME: too outdated
2020-11-11 12:53:37 +00:00
pkgs.powershell
2021-03-29 15:44:30 +00:00
pkgs.rustc
2020-11-11 12:53:37 +00:00
pkgs.shellcheck
pkgs.shfmt
pkgs.xonsh
pkgs.zsh
2021-03-29 15:44:30 +00:00
python-pkgs
2020-11-11 12:53:37 +00:00
];
# Set Environment Variables
RUST_BACKTRACE = 1;
}