cached-nix-shell:nix-shell的即时启动时间

时间:2021-05-03 06:07:08
【文件属性】:
文件名称:cached-nix-shell:nix-shell的即时启动时间
文件大小:44KB
文件格式:ZIP
更新时间:2021-05-03 06:07:08
nix nix-shell Rust 高速缓存的nix外壳 cached-nix-shell是一个缓存层nix-shell配备即时启动的后续运行时间。 它支持NixOS和Linux。 安装 从Nixpkgs安装发行版本: nix-env -iA nixpkgs.cached-nix-shell 或者,从GitHub安装最新的开发版本: nix-env -if https://github.com/xzfc/cached-nix-shell/tarball/master 用法 只需在shebang行中将nix-shell替换为cached-nix-shell : #! /usr/bin/env cached-nix-shell #! nix-shell -i python3 -p python print ( "Hello, World!" ) 或者,直接调用cached-nix-shell : $ cached
【文件预览】:
cached-nix-shell-master
----UNLICENSE(1KB)
----nix-trace()
--------.gitignore(15B)
--------README.md(1KB)
--------trace-nix.c(6KB)
--------test.sh(3KB)
--------Makefile(387B)
----.gitignore(47B)
----shell.nix(278B)
----maintain.sh(694B)
----rcfile.sh(161B)
----nix()
--------sources.json(2KB)
--------sources.nix(7KB)
--------Makefile(658B)
----.github()
--------workflows()
----default.nix(612B)
----Cargo.toml(325B)
----tests()
--------.gitignore(5B)
--------t08-args.sh(1KB)
--------t05-attr.sh(1023B)
--------run.sh(480B)
--------t14-special-paths.sh(3KB)
--------t12-shellhook-output.sh(385B)
--------lib.sh(1KB)
--------t04-env-pure-impure.sh(1KB)
--------t13-normalize-pwd.sh(1KB)
--------.shellcheckrc(316B)
--------t06-readdir.sh(621B)
--------t09-I.sh(317B)
--------t02-file-dep.sh(528B)
--------t07-implicit-default-nix.sh(838B)
--------t10-non-utf8.sh(2KB)
--------t01-lua.sh(2KB)
--------t11-wrap.sh(237B)
--------t03-path-pure-impure.sh(642B)
----.gitattributes(128B)
----LICENSE.MIT(1KB)
----build.rs(2KB)
----src()
--------bash.rs(834B)
--------args.rs(7KB)
--------trace.rs(4KB)
--------path_clean.rs(3KB)
--------shebang.rs(4KB)
--------nix_path.rs(3KB)
--------main.rs(17KB)
----readme.md(3KB)
----Cargo.lock(8KB)
----rustfmt.toml(15B)
----cached-nix-shell.1.md(3KB)

网友评论