Zpkgs tv lentil: 0.1.2.7-tv1 -> 0.1.2.7-tv2

This commit is contained in:
tv 2015-07-20 23:19:11 +02:00
parent 5424a2e115
commit 2a8366cbd9
2 changed files with 12 additions and 0 deletions

View file

@ -8,6 +8,7 @@
sha256 = "1g3if2y41li6wyg7ffvpybqvbywiq8bf5b5fb6pz499hinzahb9d";
patches = [
./1.patch
./syntaxes.patch
];
doCheck = false;
}));

View file

@ -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