pkgs: add writeJS{,Bin}
This commit is contained in:
@@ -18,6 +18,9 @@ in {
|
||||
main = do
|
||||
putStrLn "hello world"
|
||||
'';
|
||||
js = pkgs.writeJS "hello-world" {} ''
|
||||
console.log("hello world")
|
||||
'';
|
||||
perl = pkgs.writePerl "hello-world" {} ''
|
||||
print "hello world\n";
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user