mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 09:28:27 +02:00
fix: bash in mkShell
This commit is contained in:
@@ -54,6 +54,10 @@
|
|||||||
devShells = forEachSystem (
|
devShells = forEachSystem (
|
||||||
system: {
|
system: {
|
||||||
default = nixpkgs.legacyPackages.${system}.mkShell {
|
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";
|
name = "dots";
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
${self.checks.${system}.pre-commit-check.shellHook}
|
${self.checks.${system}.pre-commit-check.shellHook}
|
||||||
|
|||||||
Reference in New Issue
Block a user