Skip to content

Options

enableParallelBuildingByDefault

Whether to set enableParallelBuilding to true by default while building nixpkgs packages. Changing the default may cause a mass rebuild.

Type: boolean

Default: false

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

allowAliases

Whether to expose old attribute names for compatibility.

The recommended setting is to enable this, as it improves backward compatibility, easing updates.

The only reason to disable aliases is for continuous integration purposes. For instance, Nixpkgs should not depend on aliases in its internal code. Projects that aren’t Nixpkgs should be cautious of instantly removing all usages of aliases, as migrating too soon can break compatibility with the stable Nixpkgs releases.

Type: boolean

Default: true

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

allowBroken

Whether to allow broken packages.

See Installing broken packages in the NixOS manual.

Type: boolean

Default: false || builtins.getEnv "NIXPKGS_ALLOW_BROKEN" == "1"

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

allowUnfree

Whether to allow unfree packages.

See Installing unfree packages in the NixOS manual.

Type: boolean

Default: false || builtins.getEnv "NIXPKGS_ALLOW_UNFREE" == "1"

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

allowUnsupportedSystem

Whether to allow unsupported packages.

See Installing packages on unsupported systems in the NixOS manual.

Type: boolean

Default: false || builtins.getEnv "NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM" == "1"

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

checkMeta

Whether to check that the meta attribute of derivations are correct during evaluation time.

Type: boolean

Default: false

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

configurePlatformsByDefault

Whether to set configurePlatforms to ["build" "host"] by default while building nixpkgs packages. Changing the default may cause a mass rebuild.

Type: boolean

Default: false

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

contentAddressedByDefault

Whether to set __contentAddressed to true by default while building nixpkgs packages. Changing the default may cause a mass rebuild.

Type: boolean

Default: false

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

cudaSupport

Whether to build packages with CUDA support by default while building nixpkgs packages. Changing the default may cause a mass rebuild.

Type: boolean

Default: false

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

doCheckByDefault

Whether to run checkPhase by default while building nixpkgs packages. Changing the default may cause a mass rebuild.

Type: boolean

Default: false

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

rocmSupport

Whether to build packages with ROCm support by default while building nixpkgs packages. Changing the default may cause a mass rebuild.

Type: boolean

Default: false

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

showDerivationWarnings

Which warnings to display for potentially dangerous or deprecated values passed into stdenv.mkDerivation.

A list of warnings can be found in /pkgs/stdenv/generic/check-meta.nix.

This is not a stable interface; warnings may be added, changed or removed without prior notice.

Type: list of value “maintainerless” (singular enum)

Default: [ ]

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

strictDepsByDefault

Whether to set strictDeps to true by default while building nixpkgs packages. Changing the default may cause a mass rebuild.

Type: boolean

Default: false

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

structuredAttrsByDefault

Whether to set __structuredAttrs to true by default while building nixpkgs packages. Changing the default may cause a mass rebuild.

Type: boolean

Default: false

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix

warnUndeclaredOptions

Whether to warn when config contains an unrecognized attribute.

Type: boolean

Default: false

Declared by: - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/config.nix