From 79ab2c27f9d7903ff3ed9bcd8de493b1191bbc12 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 23 Sep 2018 13:05:11 +0200 Subject: pkgs: add writeJS{,Bin} --- examples/hello_world.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples/hello_world.nix') diff --git a/examples/hello_world.nix b/examples/hello_world.nix index 4944c13..4f9330a 100644 --- a/examples/hello_world.nix +++ b/examples/hello_world.nix @@ -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"; ''; -- cgit v1.2.3