flake-compat 库提供了一个兼容层,允许使用传统 default.nix 和 shell.nix 文件的项目与 Flakes 兼容。更多详情和使用示例,请参阅 Flake Compat 页面。
default.nix
shell.nix