ITADN

adds nix flake that should work for linux and macOS systems

#9Pull Requestrjpcasalino 创建于 2023-06-01
R
rjpcasalinocommented
From ChatGPT: A Nix flake is a new feature introduced in Nix 2.4 that allows for the definition and composition of Nix packages and configurations in a more modular and composable way. A Nix flake is a self-contained unit that can contain Nix expressions, such as package definitions, configuration files, and build instructions. Flakes provide a declarative way to specify dependencies between packages and configurations, making it easier to create and manage reproducible development environments and deployments. A Nix flake is defined in a `flake.nix` file, which contains the top-level definition of the flake, including its inputs, outputs, and any other metadata. The inputs and outputs of a flake are defined using attributes, making it easy to reference and reuse them in other flakes. One of the main benefits of using Nix flakes is the ability to use them with the `nix flake` command, which allows for more efficient and parallelized builds, as well as improved caching and reproducibility. <hr> Added this for nix users; should work on macOS and linux
合并状态:未合并 关闭于 2023-06-01 4 条评论