yazi/nix/shell.nix

33 lines
516 B
Nix
Raw Normal View History

2023-09-22 11:08:17 +03:00
{ pkgs, inputs, ... }:
pkgs.mkShell {
packages = with pkgs; [
nodePackages.cspell
file
jq
poppler_utils
unar
ffmpegthumbnailer
fd
ripgrep
fzf
zoxide
];
buildInputs = pkgs.lib.optionals pkgs.stdenv.isDarwin (
with pkgs.darwin.apple_sdk.frameworks; [ Foundation ]
);
inputsFrom = [
(inputs.devenv.lib.mkShell {
inherit inputs pkgs;
modules = [
({ pkgs, ... }: {
languages.rust.enable = true;
})
];
})
];
}