pkgs: add writePerl{,Bin}

This commit is contained in:
2018-09-12 14:57:09 +02:00
parent 368a04fec3
commit 9cd634f650
3 changed files with 24 additions and 0 deletions

View File

@@ -18,6 +18,9 @@ in {
main = do
putStrLn "hello world"
'';
perl = pkgs.writePerl "hello-world" {} ''
print "hello world\n";
'';
python2 = pkgs.writePython2 "hello-world" {} ''
print "hello world"
'';