From 4544ec7e8633b07479bfc9b3f2d546f718c7ec81 Mon Sep 17 00:00:00 2001 From: Sebastian Sellmeier Date: Sat, 15 May 2021 13:00:01 +0200 Subject: Add nix-shell for development, add hint in CONTRIBUTING.md (#207) --- shell.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') 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" + ''; +} -- cgit v1.2.3