LinuxCommandLibrary

nix3-build

builds derivations from flakes

TLDR

Build flake
$ nix3 build
copy
Build specific package
$ nix3 build [.#package]
copy
Build from nixpkgs
$ nix3 build nixpkgs#[hello]
copy
Build without result link
$ nix3 build --no-link
copy

SYNOPSIS

nix3 build [options] [installable]

DESCRIPTION

nix3 build builds derivations from flakes. Alternative name for nix build.
The tool produces store paths. Creates result symlink to output.

PARAMETERS

INSTALLABLE

Flake reference to build.
--no-link
Don't create result symlink.
-o NAME
Output link name.
--help
Display help information.

CAVEATS

Alias for nix build. Flakes must be enabled. Experimental feature.

HISTORY

nix3 refers to the Nix 3.x CLI, with build being the primary compilation command.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard