mirror of
https://github.com/bennofs/nix-script
synced 2025-01-10 12:54:20 +01:00
Use new perl.withPackages
This commit is contained in:
parent
15c9d337ae
commit
b28f58eeee
@ -64,7 +64,8 @@ languages = [haskell, python 2, python 3, javascript, perl, shell]
|
|||||||
i script = ("node" , [])
|
i script = ("node" , [])
|
||||||
|
|
||||||
perl = Language "perl" d r i where
|
perl = Language "perl" d r i where
|
||||||
d pkgs = "perl" : map ("perlPackages." ++) pkgs
|
d pkgs = pure ("perl.withPackages (pl: with pl; [" ++
|
||||||
|
unwords pkgs ++ "])")
|
||||||
r script = ("perl" , [script])
|
r script = ("perl" , [script])
|
||||||
i script = ("perl" , ["-d", script])
|
i script = ("perl" , ["-d", script])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user