nix-build.3构建 Nix 表达式(尽可能从缓存下载)。 另请参阅:
nix-build,nix flake。 更多信息:https://nix.dev/manual/nix/stable/command-ref/new-cli/nix3-build.html。
./result:nix build {{nixpkgs#包名}}
nix build {{[-L|--print-build-logs]}} {{.#包名}}
nix build {{目录路径}}
result 符号链接,而是将存储路径输出到标准输出:nix build --no-link --print-out-paths