aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple.nix
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple.nix')
-rw-r--r--examples/simple.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/simple.nix b/examples/simple.nix
index 32a4cee..ad62b84 100644
--- a/examples/simple.nix
+++ b/examples/simple.nix
@@ -14,6 +14,10 @@ in {
main :: IO ()
main = print Rolf
'';
+ perl = pkgs.writePerl "simple.pl" { deps = [ pkgs.perlPackages.boolean ]; } ''
+ use boolean;
+ print "Howdy!\n" if true;
+ '';
python2 = pkgs.writePython2 "hello-world" { deps = [ pkgs.python2Packages.pyyaml ]; } ''
import yaml