Use bats.withLibraries instead of submodules

This commit is contained in:
Sven van Heugten 2026-03-03 07:07:28 +01:00
parent f4cdb276c3
commit e9c8e3b35e
No known key found for this signature in database
GPG key ID: D612F88666F4F660
8 changed files with 16 additions and 20 deletions

View file

@ -16,9 +16,13 @@
{
packages.default = pkgs.callPackage ./default.nix { };
devShells.default = pkgs.mkShell {
packages = with pkgs; [
bats
shfmt
packages = [
(pkgs.bats.withLibraries (p: [
p.bats-assert
p.bats-support
p.bats-file
]))
pkgs.shfmt
];
};
}