nix-shell: add bash5 for testing (#209)

This commit is contained in:
Sebastian Sellmeier 2021-05-16 19:22:24 +02:00 committed by GitHub
parent f208ce1bb1
commit 4a852bb21c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,8 +7,9 @@
with lib;
pkgs.mkShell {
buildInputs = with pkgs; [ bc coreutils i3lock-color gawk gnugrep gnused imagemagick procps shellcheck xorg.xdpyinfo xorg.xrandr xorg.xset ];
buildInputs = with pkgs; [ bash_5 bc coreutils i3lock-color gawk gnugrep gnused imagemagick procps shellcheck xorg.xdpyinfo xorg.xrandr xorg.xset ];
shellHooks = ''
alias bash5="${pkgs.bash_5}/bin/bash"
alias i3lock="i3lock-color"
'';
}