flake-utils:纯 Nix 薄片实用函数

时间:2021-08-05 03:06:21
【文件属性】:
文件名称:flake-utils:纯 Nix 薄片实用函数
文件大小:12KB
文件格式:ZIP
更新时间:2021-08-05 03:06:21
nix flake nix-flake Nix 片状实用程序 状态:稳定 纯 Nix 薄片实用程序功能。 这个项目的目标是构建一个不依赖于 nixpkgs 的纯 Nix 函数的集合,这些函数在编写其他 Nix 片的上下文中很有用。 用法 allSystems -> [] nixpkgs 中定义的所有系统的列表。 有关较小的列表,请参阅defaultSystems defaultSystems -> [] nixpkgs 支持并由 hydra 构建的系统列表。 如果您想添加其他平台,则很有用: eachSystem ( defaultSystems ++ [ " armv7l-linux " ]) ( system : { hello = 42 ; }) eachSystem -> [] -> ( -> attrs) 一个常见的情况是为每个系统构建相同的结构。
【文件预览】:
flake-utils-master
----.gitignore(84B)
----filterPackages.nix(948B)
----default.nix(4KB)
----flattenTree.nix(982B)
----LICENSE(1KB)
----check-utils.nix(2KB)
----.github()
--------workflows()
--------dependabot.yml(118B)
----examples()
--------simple-flake()
--------each-system()
--------checks-utils()
----README.md(4KB)
----flake.nix(107B)
----simpleFlake.nix(2KB)

网友评论