diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..051d09d --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +eval "$(lorri direnv)" diff --git a/.gitignore b/.gitignore index c7fd0c9..0b4cf83 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ prompt-history xmonad-x86_64-linux xmonad.errors xmonad.state +dist-newstyle diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..45439b6 --- /dev/null +++ b/shell.nix @@ -0,0 +1,15 @@ +{ pkgs ? import { } }: +let + inherit (pkgs) callPackage fetchFromGitHub mkShell; + easy-hls-src = fetchFromGitHub { + owner = "jkachmar"; + repo = "easy-hls-nix"; + rev = "291cf77f512a7121bb6801cde35ee1e8b7287f91"; + sha256 = "1bvbcp9zwmh53sm16ycp8phhc6vzc72a71sf0bvyjgfbn6zp68bc"; + }; + easy-hls = callPackage easy-hls-src {}; +in + +mkShell { + buildInputs = [ easy-hls ]; +}