1
0
mirror of https://github.com/bennofs/nix-script synced 2025-01-10 04:44:21 +01:00

Fix dependecies definitions

This commit is contained in:
rnhmjoj 2015-08-30 14:01:30 +00:00
parent 14c4b916ba
commit 2ca72ad03d

View File

@ -43,22 +43,19 @@ haskell = LangDef "haskell" d r i where
python :: LangDef
python = LangDef "python" d r i where
d pkgs = return $
Text.unwords (map ("pythonPackages." <>) pkgs)
d pkgs = "python" : map ("pythonPackages." <>) pkgs
r script = ("python" , [script])
i script = ("python" , ["-i", script])
javascript :: LangDef
javascript = LangDef "javascript" d r i where
d pkgs = return $
Text.unwords (map ("nodePackages." <>) pkgs)
d pkgs = "node" : map ("nodePackages." <>) pkgs
r script = ("node" , [script])
i script = ("node" , [])
perl :: LangDef
perl = LangDef "perl" d r i where
d pkgs = return $
Text.unwords (map ("perlPackages." <>) pkgs)
d pkgs = "perl" : map ("perlPackages." <>) pkgs
r script = ("perl" , [script])
i script = ("perl" , ["-d", script])