From 9fd4e4c1a5cb6afb55d020fe3389d05dc38cbdbe Mon Sep 17 00:00:00 2001 From: "EEva (JPotier)" Date: Sun, 18 Apr 2021 15:50:27 +0300 Subject: [PATCH] =?UTF-8?q?Add=20LSP=C2=A0support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .envrc | 1 + .gitignore | 1 + shell.nix | 15 +++++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 .envrc create mode 100644 shell.nix 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 ]; +}