mirror of
https://git.adityakumar.xyz/betterlockscreen-openrc.git
synced 2024-11-21 22:52:52 +00:00
Add nix-shell for development, add hint in CONTRIBUTING.md (#207)
This commit is contained in:
parent
929205022c
commit
4544ec7e86
2 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
|
|
14
shell.nix
Normal file
14
shell.nix
Normal file
|
@ -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"
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue