diff options
Diffstat (limited to 'Zpkgs')
-rw-r--r-- | Zpkgs/tv/lentil/default.nix | 1 | ||||
-rw-r--r-- | Zpkgs/tv/lentil/syntaxes.patch | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Zpkgs/tv/lentil/default.nix b/Zpkgs/tv/lentil/default.nix index da3ca2be2..1385cbd4d 100644 --- a/Zpkgs/tv/lentil/default.nix +++ b/Zpkgs/tv/lentil/default.nix @@ -8,6 +8,7 @@ sha256 = "1g3if2y41li6wyg7ffvpybqvbywiq8bf5b5fb6pz499hinzahb9d"; patches = [ ./1.patch + ./syntaxes.patch ]; doCheck = false; })); diff --git a/Zpkgs/tv/lentil/syntaxes.patch b/Zpkgs/tv/lentil/syntaxes.patch new file mode 100644 index 000000000..a9390ae51 --- /dev/null +++ b/Zpkgs/tv/lentil/syntaxes.patch @@ -0,0 +1,11 @@ +diff -rN -u old-lentil/src/Lentil/Parse/Syntaxes.hs new-lentil/src/Lentil/Parse/Syntaxes.hs +--- old-lentil/src/Lentil/Parse/Syntaxes.hs 2015-07-20 23:15:38.600539779 +0200 ++++ new-lentil/src/Lentil/Parse/Syntaxes.hs 2015-07-20 23:15:38.600539779 +0200 +@@ -30,6 +30,7 @@ + | ext `elem` [".pas", ".pp", ".inc"] = Just pascal + | ext `elem` [".py"] = Just python + | ext `elem` [".rb"] = Just ruby ++ | ext `elem` [".nix"] = Just perl -- Nix + | ext `elem` [".pl", ".pm", ".t"] = Just perl + | ext `elem` [".sh"] = Just perl -- shell + | ext `elem` [".txt"] = Just text |