nxc build
Builds the composition.
It generates a build folder which stores symlinks to the closure associated to a composition. The file name of the symlink follows this structure [composition-name]::[flavour]
Examples
-
nxc build -t vmBuild the
vmflavour of your composition. -
nxc build -C oar::g5k-nfs-storeBuild the
oarcomposition with theg5k-nfs-storeflavour`.
Usage
nxc build [OPTIONS] [COMPOSITION_FILE]
Options
-
composition_file -
--nix-flagsadd nix flags (aka options) to nix build command, --nix-flags "--impure" -
--out-link, -opath of the symlink to the build result -
-f, --flavourUse particular flavour (name or path) -
-F, --list-flavoursList available flavour Default:False -
--show-traceShow Nix trace Default:False -
--dry-runShow what this command would do without doing it Default:False -
--dry-buildEval build expression and show store entry without building derivation Default:False -
-C, --composition-flavourUse to specify which composition and flavour combination to build when multiple compositions are describe at once (see -L options to list them). -
-L, --list-compositions-flavoursList available combinations of compositions and flavours Default:False -
-s, --setupSelect setup variant -
-p, --setup-paramOverride setup parameter -
-u, --update-flakeUpdate flake.lock equivalent to: nix flake update Default:False -
--monitorBuild with nix-output-monitor Default:False -
--helpShow this message and exit. Default:False