aboutsummaryrefslogtreecommitdiff
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
parent929205022cdde8bee995771fbfbb25bf44af830b (diff)
Add nix-shell for development, add hint in CONTRIBUTING.md (#207)
-rw-r--r--CONTRIBUTING.md2
-rw-r--r--shell.nix14
2 files changed, 16 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 92e4994..83d6eeb 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -9,4 +9,6 @@ please notify the maintainer @AUTplayed via a mention (like used here with the @
Also, in case of adding new dependencies, please notify @AUTplayed and @m1m3-50.
+For nix-users: We include a nix-shell for development :-)
+
Thanks
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"
+ '';
+}