turtle-shell-with-nix:Nix的龟壳示例

时间:2021-05-21 14:39:01
【文件属性】:
文件名称:turtle-shell-with-nix:Nix的龟壳示例
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-21 14:39:01
Nix 用Nix尝试龟壳 使用一个名为turtle的简单包装脚本,您的Turtle shell程序可以通过简单的shebang来执行。 如果您还没有必要的依赖关系, 将负责安装它们。 将乌龟放到您的路径上 $ source bin/env 或简单地: $ PATH= $PWD /bin: $PATH 执行示例Turtle Shell脚本 $ examples/hello-turtle Turtle 带有简单shebang的Turtle shell脚本 #!/usr/bin/env turtle main = echo " Hello, Turtle! " 参考 Gabriel的原始博客文章,
【文件预览】:
turtle-shell-with-nix-master
----bin()
--------turtle(149B)
--------shell.nix(458B)
--------env(20B)
----examples()
--------hack-files(873B)
--------display-nix-store(77B)
--------hello-turtle(67B)
--------echo(129B)
--------sleep-for-ages(59B)
----README.org(1KB)

网友评论