Files
nixos/shells.nix
T

37 lines
683 B
Nix
Raw Normal View History

2024-10-19 01:41:53 -05:00
{
self',
pkgs,
nixvimunstable,
...
}:
2024-10-10 13:01:37 -05:00
let
system = pkgs.system;
2024-10-19 01:41:53 -05:00
vim = (
nixvimunstable.legacyPackages.${system}.makeNixvim (
2025-06-11 02:44:36 -05:00
import ./home/baseline/vim/config.nix {
2024-10-19 01:41:53 -05:00
inherit pkgs;
inherit (pkgs) lib;
config.nixpkgs.config.allowUnfree = false; # I have tried to allow it, but I don't seem able to do so
}
)
2024-10-10 13:01:37 -05:00
);
in
2024-10-04 10:56:22 -05:00
{
default = pkgs.mkShell {
inherit (self'.checks.pre-commit-check) shellHook;
buildInputs = with pkgs; [
bashInteractive
curl
git
gnutar
gzip
inject
inject-darwin
2024-10-10 13:01:37 -05:00
vim
2024-10-04 10:56:22 -05:00
self'.checks.pre-commit-check.enabledPackages
tmux
xonsh
];
};
}