From 2a8366cbd9a5b1c71e4f1c77b5f866625b9fe801 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 20 Jul 2015 23:19:11 +0200 Subject: Zpkgs tv lentil: 0.1.2.7-tv1 -> 0.1.2.7-tv2 --- Zpkgs/tv/lentil/default.nix | 1 + Zpkgs/tv/lentil/syntaxes.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 Zpkgs/tv/lentil/syntaxes.patch 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 -- cgit v1.2.3