mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2024-11-25 14:07:35 +00:00
45 lines
971 B
Nix
45 lines
971 B
Nix
let
|
|
rust = import (builtins.fetchTarball
|
|
"https://github.com/oxalica/rust-overlay/archive/6ddde85465a678aa549cef26dd7ddb012aa0eda3.tar.gz");
|
|
pkgs = import (builtins.fetchTarball
|
|
"https://github.com/NixOS/nixpkgs/archive/90e10f361f0a87082adb3553bfddaa63f150dd57.tar.gz") {
|
|
overlays = [ rust ];
|
|
};
|
|
in pkgs.mkShell {
|
|
buildInputs = [
|
|
# Rust
|
|
pkgs.rust-bin.stable.latest.default
|
|
|
|
# Shells
|
|
pkgs.bash
|
|
pkgs.dash
|
|
pkgs.elvish
|
|
pkgs.fish
|
|
pkgs.nushell
|
|
pkgs.powershell
|
|
pkgs.xonsh
|
|
pkgs.zsh
|
|
|
|
# Tools
|
|
pkgs.cargo-audit
|
|
pkgs.cargo-nextest
|
|
pkgs.mandoc
|
|
pkgs.nixfmt
|
|
pkgs.nodePackages.markdownlint-cli
|
|
pkgs.python3Packages.black
|
|
pkgs.python3Packages.mypy
|
|
pkgs.python3Packages.pylint
|
|
pkgs.shellcheck
|
|
pkgs.shfmt
|
|
|
|
# Dependencies
|
|
pkgs.cacert
|
|
pkgs.fzf
|
|
pkgs.git
|
|
pkgs.libiconv
|
|
];
|
|
|
|
CARGO_INCREMENTAL = builtins.getEnv "CI" != "";
|
|
CARGO_TARGET_DIR = "target_nix";
|
|
}
|