aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorSebastian Sellmeier <mail@sebastian-sellmeier.de>2021-05-16 19:22:24 +0200
committerGitHub <noreply@github.com>2021-05-16 19:22:24 +0200
commit4a852bb21c5f0f648c648bc3e3902d3fef298575 (patch)
tree0e8db2f286e3f7858d1a70f5571e0708e2a23c18 /shell.nix
parentf208ce1bb15930b97d7e6d12b17b52d91278901c (diff)
nix-shell: add bash5 for testing (#209)
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell.nix b/shell.nix
index 7bf3c65..2e8b96e 100644
--- a/shell.nix
+++ b/shell.nix
@@ -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"
'';
}