User contributions for Weijia
Appearance
28 August 2025
- 19:3719:37, 28 August 2025 diff hist −58 Flakes/zh Created page with "* [https://www.tweag.io/blog/2020-06-25-eval-cache/ Nix Flakes, 第二节:推导缓存] (Eelco Dolstra, 2020)" Tags: Mobile edit Mobile web edit
- 19:3719:37, 28 August 2025 diff hist +111 N Translations:Flakes/174/zh Created page with "* [https://www.tweag.io/blog/2020-06-25-eval-cache/ Nix Flakes, 第二节:推导缓存] (Eelco Dolstra, 2020)" current
- 19:3619:36, 28 August 2025 diff hist −65 Flakes/zh Created page with "* [https://www.tweag.io/blog/2020-05-25-flakes/ Nix Flakes, 第一节:介绍和教程] (Eelco Dolstra, 2020)"
- 19:3619:36, 28 August 2025 diff hist +110 N Translations:Flakes/173/zh Created page with "* [https://www.tweag.io/blog/2020-05-25-flakes/ Nix Flakes, 第一节:介绍和教程] (Eelco Dolstra, 2020)" current
- 19:3619:36, 28 August 2025 diff hist −54 Flakes/zh Created page with "* [https://serokell.io/blog/practical-nix-flakes Practical Nix Flakes] (Alexander Bantyev, 2021) - 关于使用 Nix 和 Flakes 的介绍文章。" Tags: Mobile edit Mobile web edit
- 19:3619:36, 28 August 2025 diff hist +145 N Translations:Flakes/172/zh Created page with "* [https://serokell.io/blog/practical-nix-flakes Practical Nix Flakes] (Alexander Bantyev, 2021) - 关于使用 Nix 和 Flakes 的介绍文章。" current
- 19:3519:35, 28 August 2025 diff hist −52 Flakes/zh Created page with "* [https://xeiaso.net/blog/nix-flakes-1-2022-02-21 Nix Flakes:一个简要介绍] (Xe Iaso, 2022)"
- 19:3519:35, 28 August 2025 diff hist +99 N Translations:Flakes/171/zh Created page with "* [https://xeiaso.net/blog/nix-flakes-1-2022-02-21 Nix Flakes:一个简要介绍] (Xe Iaso, 2022)" current
- 19:3519:35, 28 August 2025 diff hist −49 Flakes/zh Created page with "* [https://github.com/ryan4yin/nixos-and-flakes-book NixOS & Flakes Book](Ryan4yin, 2023) - 🛠️ ❤️ 一本非官方的 NixOS & Flakes 新手入门书籍。"
- 19:3519:35, 28 August 2025 diff hist +162 N Translations:Flakes/170/zh Created page with "* [https://github.com/ryan4yin/nixos-and-flakes-book NixOS & Flakes Book](Ryan4yin, 2023) - 🛠️ ❤️ 一本非官方的 NixOS & Flakes 新手入门书籍。" current
- 19:3519:35, 28 August 2025 diff hist −59 Flakes/zh Created page with "* [https://jade.fyi/blog/flakes-arent-real/ Flakes 幻象,亦非洪水猛兽] (Jade Lovelace, 2024)"
- 19:3519:35, 28 August 2025 diff hist +101 N Translations:Flakes/169/zh Created page with "* [https://jade.fyi/blog/flakes-arent-real/ Flakes 幻象,亦非洪水猛兽] (Jade Lovelace, 2024)"
- 19:3419:34, 28 August 2025 diff hist −30 Flakes/zh Created page with "=== 指南 ==="
- 19:3419:34, 28 August 2025 diff hist +14 N Translations:Flakes/226/zh Created page with "=== 指南 ===" current
- 19:3419:34, 28 August 2025 diff hist −65 Flakes/zh Created page with "* [https://github.com/NixOS/rfcs/pull/49 RFC 49] (2019) - 原始 Flakes 规范" Tags: Mobile edit Mobile web edit
- 19:3419:34, 28 August 2025 diff hist +78 N Translations:Flakes/168/zh Created page with "* [https://github.com/NixOS/rfcs/pull/49 RFC 49] (2019) - 原始 Flakes 规范" current
- 19:3419:34, 28 August 2025 diff hist −57 Flakes/zh Created page with "* [https://github.com/NixOS/nix/blob/master/src/nix/flake.md 更详细地描述 Flakes Inputs 的规范]"
- 19:3419:34, 28 August 2025 diff hist +104 N Translations:Flakes/178/zh Created page with "* [https://github.com/NixOS/nix/blob/master/src/nix/flake.md 更详细地描述 Flakes Inputs 的规范]" current
- 19:3319:33, 28 August 2025 diff hist −63 Flakes/zh Created page with "* [https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-flake.html Nix flake 命令参考手册] - 关于 Flakes 及其各部分的更多附加细节。"
- 19:3319:33, 28 August 2025 diff hist +162 N Translations:Flakes/176/zh Created page with "* [https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-flake.html Nix flake 命令参考手册] - 关于 Flakes 及其各部分的更多附加细节。" current
- 19:3319:33, 28 August 2025 diff hist −56 Flakes/zh Created page with "* [https://nix.dev/concepts/flakes Flakes] - nix.dev"
- 19:3319:33, 28 August 2025 diff hist +52 N Translations:Flakes/139/zh Created page with "* [https://nix.dev/concepts/flakes Flakes] - nix.dev" current
- 19:3319:33, 28 August 2025 diff hist −24 Flakes/zh Created page with "=== 官方来源 ==="
- 19:3319:33, 28 August 2025 diff hist +20 N Translations:Flakes/225/zh Created page with "=== 官方来源 ===" current
- 19:3319:33, 28 August 2025 diff hist −28 Flakes/zh Created page with "=== 另见 ==="
- 19:3319:33, 28 August 2025 diff hist +14 N Translations:Flakes/138/zh Created page with "=== 另见 ===" current
- 19:3319:33, 28 August 2025 diff hist −69 Flakes/zh Created page with "如果 Nix 警告您重定向的 flake 实际上并未用作已推导 flake 的输入,请尝试使用 <code>--inputs-from .</code> 标志。如果一切顺利,您应该能够在依赖项更改时执行 <code>buildPhase && installPhase</code> 操作,并使用新版本依赖重建您的程序,而''无需''退出开发 shell。"
- 19:3319:33, 28 August 2025 diff hist +334 N Translations:Flakes/167/zh Created page with "如果 Nix 警告您重定向的 flake 实际上并未用作已推导 flake 的输入,请尝试使用 <code>--inputs-from .</code> 标志。如果一切顺利,您应该能够在依赖项更改时执行 <code>buildPhase && installPhase</code> 操作,并使用新版本依赖重建您的程序,而''无需''退出开发 shell。" current
- 19:3319:33, 28 August 2025 diff hist −52 Flakes/zh Created page with "现在您已经构建了依赖项,<code>consumexe</code> 可以将其作为输入。'''在另一个终端中''':" Tags: Mobile edit Mobile web edit
- 19:3319:33, 28 August 2025 diff hist +116 N Translations:Flakes/166/zh Created page with "现在您已经构建了依赖项,<code>consumexe</code> 可以将其作为输入。'''在另一个终端中''':" current
- 19:3319:33, 28 August 2025 diff hist −52 Flakes/zh Created page with "考虑这样一个场景:您的可执行程序 <code>consumexe</code> 依赖于一个库 <code>libdep</code>。你希望同时开发这两个项目,并且对 <code>libdep</code> 的修改能够实时反映到 <code>consumexe</code> 中。这种工作流程可以通过以下方式实现:" Tags: Mobile edit Mobile web edit
- 19:3319:33, 28 August 2025 diff hist +293 N Translations:Flakes/136/zh Created page with "考虑这样一个场景:您的可执行程序 <code>consumexe</code> 依赖于一个库 <code>libdep</code>。你希望同时开发这两个项目,并且对 <code>libdep</code> 的修改能够实时反映到 <code>consumexe</code> 中。这种工作流程可以通过以下方式实现:" current
- 19:3219:32, 28 August 2025 diff hist −100 Flakes/zh Created page with "使用 Nix 作为开发环境的一个常见痛点是,每次更新依赖项时都需要完全重构并重新进入开发 shell。<code>nix develop --redirect <flake> <directory></code> 命令允许您向 shell 提供可变的依赖项,就像它是由 Nix 构建的一样。" Tags: Mobile edit Mobile web edit
- 19:3219:32, 28 August 2025 diff hist +277 N Translations:Flakes/165/zh Created page with "使用 Nix 作为开发环境的一个常见痛点是,每次更新依赖项时都需要完全重构并重新进入开发 shell。<code>nix develop --redirect <flake> <directory></code> 命令允许您向 shell 提供可变的依赖项,就像它是由 Nix 构建的一样。" current
- 19:3219:32, 28 August 2025 diff hist −6 Flakes/zh Created page with "=== 直接依赖项的快速迭代 ==="
- 19:3219:32, 28 August 2025 diff hist +38 N Translations:Flakes/135/zh Created page with "=== 直接依赖项的快速迭代 ===" current
- 19:3219:32, 28 August 2025 diff hist −42 Flakes/zh Created page with "当 git 文件夹存在时,flake 将仅复制在 git 中添加的文件,以最大限度地提高可复现性(因此,如果您忘记在代码库中添加本地文件,则在尝试编译时会直接出错)。但是,有时出于开发目的您可能需要创建一个备用的 flake 文件,例如包含您首选编辑器的配置,如[https://discourse.nixos.org/t/local-personal-development-tools-with-flakes/22714/8 此处所述],这种情况下当然无..."
- 19:3219:32, 28 August 2025 diff hist +668 N Translations:Flakes/133/zh Created page with "当 git 文件夹存在时,flake 将仅复制在 git 中添加的文件,以最大限度地提高可复现性(因此,如果您忘记在代码库中添加本地文件,则在尝试编译时会直接出错)。但是,有时出于开发目的您可能需要创建一个备用的 flake 文件,例如包含您首选编辑器的配置,如[https://discourse.nixos.org/t/local-personal-development-tools-with-flakes/22714/8 此处所述],这种情况下当然无..." current
- 19:3219:32, 28 August 2025 diff hist +35 Flakes/zh Created page with "=== 如何在 git 中添加一个本地文件但不将其包含在提交中 ===" Tags: Mobile edit Mobile web edit
- 19:3219:32, 28 August 2025 diff hist +79 N Translations:Flakes/164/zh Created page with "=== 如何在 git 中添加一个本地文件但不将其包含在提交中 ===" current
- 19:3219:32, 28 August 2025 diff hist −78 Flakes/zh Created page with "这允许构建尚未添加到 nixpkgs 的包。"
- 19:3219:32, 28 August 2025 diff hist +48 N Translations:Flakes/163/zh Created page with "这允许构建尚未添加到 nixpkgs 的包。" current
- 19:3219:32, 28 August 2025 diff hist −58 Flakes/zh Created page with "请注意,这将下载 nixpkgs 的完整 tarball 压缩档。如果您已有本地克隆,由于增量压缩机制,使用它可能会更快:"
- 19:3219:32, 28 August 2025 diff hist +147 N Translations:Flakes/132/zh Created page with "请注意,这将下载 nixpkgs 的完整 tarball 压缩档。如果您已有本地克隆,由于增量压缩机制,使用它可能会更快:" current
- 19:3219:32, 28 August 2025 diff hist −78 Flakes/zh Created page with "这允许构建尚未添加到 nixpkgs 的包。" Tags: Mobile edit Mobile web edit
- 19:3219:32, 28 August 2025 diff hist +48 N Translations:Flakes/162/zh Created page with "这允许构建尚未添加到 nixpkgs 的包。" current
- 19:3219:32, 28 August 2025 diff hist −2 Flakes/zh Created page with "=== 构建一个添加至 PR 中的包 ==="
- 19:3219:32, 28 August 2025 diff hist +42 N Translations:Flakes/161/zh Created page with "=== 构建一个添加至 PR 中的包 ===" current
- 19:3219:32, 28 August 2025 diff hist −57 Flakes/zh Created page with "要自动推送''所有'' flake 输出,请查看 [https://github.com/srid/devour-flake#usage devour-flake]。"
- 19:3219:32, 28 August 2025 diff hist +111 N Translations:Flakes/101/zh Created page with "要自动推送''所有'' flake 输出,请查看 [https://github.com/srid/devour-flake#usage devour-flake]。" current