2020-11-11 18:23:37 +05:30
|
|
|
let
|
2021-10-12 01:35:24 +05:30
|
|
|
rust = import (builtins.fetchTarball
|
2023-01-07 01:31:49 +05:30
|
|
|
"https://github.com/oxalica/rust-overlay/archive/9096306d4a1c3adcc8d20f2c9dcaee3dee30d1ad.tar.gz");
|
2021-12-05 14:28:31 +05:30
|
|
|
pkgs = import (builtins.fetchTarball
|
2023-01-07 01:31:49 +05:30
|
|
|
"https://github.com/NixOS/nixpkgs/archive/5f902ae769594aaeaf326e8623a48482eeacfe89.tar.gz") {
|
2021-12-05 14:28:31 +05:30
|
|
|
overlays = [ rust ];
|
|
|
|
};
|
2021-10-12 01:35:24 +05:30
|
|
|
in pkgs.mkShell {
|
2020-11-11 18:23:37 +05:30
|
|
|
buildInputs = [
|
2021-07-21 02:39:18 +05:30
|
|
|
# Rust
|
|
|
|
pkgs.rust-bin.stable.latest.default
|
|
|
|
|
|
|
|
# Shells
|
2021-09-18 01:29:46 +05:30
|
|
|
pkgs.bash
|
|
|
|
pkgs.dash
|
2021-12-05 14:28:31 +05:30
|
|
|
pkgs.elvish
|
|
|
|
pkgs.fish
|
|
|
|
pkgs.nushell
|
2021-09-18 01:29:46 +05:30
|
|
|
pkgs.powershell
|
2021-12-05 14:28:31 +05:30
|
|
|
pkgs.xonsh
|
2021-09-18 01:29:46 +05:30
|
|
|
pkgs.zsh
|
2021-07-21 02:39:18 +05:30
|
|
|
|
2021-09-28 04:52:27 +05:30
|
|
|
# Tools
|
2023-01-18 11:05:19 +05:30
|
|
|
pkgs.cargo-msrv
|
2022-05-19 16:37:25 +05:30
|
|
|
pkgs.cargo-nextest
|
2021-12-05 14:28:31 +05:30
|
|
|
pkgs.mandoc
|
|
|
|
pkgs.nixfmt
|
|
|
|
pkgs.nodePackages.markdownlint-cli
|
|
|
|
pkgs.python3Packages.black
|
|
|
|
pkgs.python3Packages.mypy
|
|
|
|
pkgs.python3Packages.pylint
|
|
|
|
pkgs.shellcheck
|
|
|
|
pkgs.shfmt
|
2021-07-21 02:39:18 +05:30
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
pkgs.cacert
|
2021-09-18 01:29:46 +05:30
|
|
|
pkgs.fzf
|
|
|
|
pkgs.git
|
2021-12-05 14:28:31 +05:30
|
|
|
pkgs.libiconv
|
2020-11-11 18:23:37 +05:30
|
|
|
];
|
2021-07-21 02:39:18 +05:30
|
|
|
|
2022-04-25 14:45:46 +05:30
|
|
|
CARGO_INCREMENTAL = builtins.getEnv "CI" != "";
|
|
|
|
CARGO_TARGET_DIR = "target_nix";
|
2020-11-11 18:23:37 +05:30
|
|
|
}
|