fix: bash in mkShell

This commit is contained in:
Ryan Yin
2023-12-21 14:46:20 +08:00
parent 9832a955e4
commit a237c108d1

View File

@@ -54,6 +54,10 @@
devShells = forEachSystem (
system: {
default = nixpkgs.legacyPackages.${system}.mkShell {
packages = [
# fix https://discourse.nixos.org/t/non-interactive-bash-errors-from-flake-nix-mkshell/33310
nixpkgs.legacyPackages.${system}.bashInteractive
];
name = "dots";
shellHook = ''
${self.checks.${system}.pre-commit-check.shellHook}