yazi/nix/shell.nix
uncenter c7b002581a
refactor(nix): cleanup and switch to nixfmt-rfc-style (#1376)
Co-authored-by: Isabel <isabel@isabelroses.com>
2024-08-01 11:01:07 +08:00

29 lines
389 B
Nix

{ pkgs, ... }:
pkgs.mkShell {
packages = with pkgs; [
rustToolchain
rust-analyzer
nodePackages.cspell
file
jq
poppler_utils
unar
ffmpegthumbnailer
fd
ripgrep
fzf
zoxide
];
buildInputs =
with pkgs;
lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Foundation ]);
env = {
RUST_BACKTRACE = "1";
};
}