Package nix-core

Core nix tool

https://github.com/NixOS/nix

This package provides the core nix tool for modern flake-based commands.

Most users should probably install the main nix package instead,
or also nix-legacy if you need the older pre-flake nix-* commands.

Version: 2.31.2

See also: Nix, nix-legacy.

General Commands

nix a tool for reproducible and declarative configuration management
nix3-build build a derivation or fetch a store path
nix3-bundle bundle an application so that it works outside of the Nix store
nix3-config manipulate the Nix configuration
nix3-config-check check your system for potential problems and print a PASS or FAIL for each check
nix3-config-show show the Nix configuration or the value of a specific setting
nix3-copy copy paths between Nix stores
nix3-daemon daemon to perform store operations on behalf of non-root clients
nix3-derivation Work with derivations, Nix’s notion of a build plan.
nix3-derivation-add Add a store derivation
nix3-derivation-show show the contents of a store derivation
nix3-develop run a bash shell that provides the build environment of a derivation
nix3-edit open the Nix expression of a Nix package in $EDITOR
nix3-env-shell run a shell in which the specified packages are available
nix3-eval evaluate a Nix expression
nix3-flake manage Nix flakes
nix3-flake-archive copy a flake and all its inputs to a store
nix3-flake-check check whether the flake evaluates and run its tests
nix3-flake-clone clone flake repository
nix3-flake-info show flake metadata
nix3-flake-init create a flake in the current directory from a template
nix3-flake-lock create missing lock file entries
nix3-flake-metadata show flake metadata
nix3-flake-new create a flake in the specified directory from a template
nix3-flake-prefetch download the source tree denoted by a flake reference into the Nix store
nix3-flake-show show the outputs provided by a flake
nix3-flake-update update flake lock file
nix3-fmt reformat your code in the standard style
nix3-hash compute and convert cryptographic hashes
nix3-hash-convert convert between hash formats
nix3-hash-file print cryptographic hash of a regular file
nix3-hash-path print cryptographic hash of the NAR serialisation of a path
nix3-hash-to-base16 convert a hash to base-16 representation (deprecated, use nix hash convert instead)
nix3-hash-to-base32 convert a hash to base-32 representation (deprecated, use nix hash convert instead)
nix3-hash-to-base64 convert a hash to base-64 representation (deprecated, use nix hash convert instead)
nix3-hash-to-sri convert a hash to SRI representation (deprecated, use nix hash convert instead)
nix3-help show help about nix or a particular subcommand
nix3-help-stores show help about store types and their settings
nix3-key generate and convert Nix signing keys
nix3-key-convert-secret-to-public generate a public key for verifying store paths from a secret key read from standard input
nix3-key-generate-secret generate a secret key for signing store paths
nix3-log show the build log of the specified packages or paths, if available
nix3-nar create or inspect NAR files
nix3-nar-cat print the contents of a file inside a NAR file on stdout
nix3-nar-dump-path serialise a path to stdout in NAR format
nix3-nar-ls show information about a path inside a NAR file
nix3-nar-pack serialise a path to stdout in NAR format
nix3-path-info query information about store paths
nix3-print-dev-env print shell code that can be sourced by bash to reproduce the build environment of a derivation
nix3-profile manage Nix profiles
nix3-profile-add add a package to a profile
nix3-profile-diff-closures show the closure difference between each version of a profile
nix3-profile-history show all versions of a profile
nix3-profile-list list packages in the profile
nix3-profile-remove remove packages from a profile
nix3-profile-rollback roll back to the previous version or a specified version of a profile
nix3-profile-upgrade upgrade packages using their most recent flake
nix3-profile-wipe-history delete non-current versions of a profile
nix3-realisation manipulate a Nix realisation
nix3-realisation-info query information about one or several realisations
nix3-registry manage the flake registry
nix3-registry-add add/replace flake in user flake registry
nix3-registry-list list available Nix flakes
nix3-registry-pin pin a flake to its current version or to the current version of a flake URL
nix3-registry-remove remove flake from user flake registry
nix3-repl start an interactive environment for evaluating Nix expressions
nix3-run run a Nix application
nix3-search search for packages
nix3-store manipulate a Nix store
nix3-store-add Add a file or directory to the Nix store
nix3-store-add-file Deprecated. Use nix store add --mode flat instead.
nix3-store-add-path Deprecated alias to nix store add .
nix3-store-cat print the contents of a file in the Nix store on stdout
nix3-store-copy-log copy build logs between Nix stores
nix3-store-copy-sigs copy store path signatures from substituters
nix3-store-delete delete paths from the Nix store
nix3-store-diff-closures show what packages and versions were added and removed between two closures
nix3-store-dump-path serialise a store path to stdout in NAR format
nix3-store-gc perform garbage collection on a Nix store
nix3-store-info test whether a store can be accessed
nix3-store-ls show information about a path in the Nix store
nix3-store-make-content-addressed rewrite a path or closure to content-addressed form
nix3-store-optimise replace identical files in the store by hard links
nix3-store-path-from-hash-part get a store path from its hash part
nix3-store-prefetch-file download a file into the Nix store
nix3-store-repair repair store paths
nix3-store-sign sign store paths with a local key
nix3-store-verify verify the integrity of store paths
nix3-upgrade-nix upgrade Nix to the latest stable version
nix3-why-depends show why a package has another package in its closure

File Formats

nix-profiles