mirror of
https://github.com/bennofs/nix-script
synced 2025-01-09 20:34:20 +01:00
Fix dependecies definitions
This commit is contained in:
parent
14c4b916ba
commit
2ca72ad03d
@ -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])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user