aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorSebastian Sellmeier <mail@sebastian-sellmeier.de>2021-05-15 13:00:01 +0200
committerGitHub <noreply@github.com>2021-05-15 13:00:01 +0200
commit4544ec7e8633b07479bfc9b3f2d546f718c7ec81 (patch)
tree93fd31d3f450b0fa2c818f965d9cffadce75a7ce /shell.nix
parent929205022cdde8bee995771fbfbb25bf44af830b (diff)
Add nix-shell for development, add hint in CONTRIBUTING.md (#207)
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..7bf3c65
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,14 @@
+{
+ pkgs ? import /run/nixpkgs {},
+ lib ? pkgs.lib,
+ ...
+}:
+
+with lib;
+
+pkgs.mkShell {
+ buildInputs = with pkgs; [ bc coreutils i3lock-color gawk gnugrep gnused imagemagick procps shellcheck xorg.xdpyinfo xorg.xrandr xorg.xset ];
+ shellHooks = ''
+ alias i3lock="i3lock-color"
+ '';
+}