Forrest logo
back to context overview

nix3-build

List of commands for nix3-build:

  • nix3-build:tldr:1906f nix3-build: Build a package from nixpkgs, symlinking the result to `./result`.
    $ nix build ${nixpkgs#pkg}
    try on your machine
    explain this command
  • nix3-build:tldr:75b84 nix3-build: Build a package without making the `result` symlink, instead printing the store path to the stdout.
    $ nix build --no-link --print-out-paths
    try on your machine
    explain this command
  • nix3-build:tldr:cd83c nix3-build: Build a package from a flake in the current directory, showing the build logs in the process.
    $ nix build -L ${-#pkg}
    try on your machine
    explain this command
back to context overview