Nix (command): Difference between revisions
imported>Mic92 |
imported>Mic92 |
||
Line 92: | Line 92: | ||
=== [[Nix_command/add-to-store|nix add-to-store]] === | === [[Nix_command/add-to-store|nix add-to-store]] === | ||
Add a path to the Nix store. | |||
=== [[Nix_command/cat-nar|nix cat-nar]] === | === [[Nix_command/cat-nar|nix cat-nar]] === | ||
Print the contents of a file inside a NAR file on stdout. | |||
=== [[Nix_command/cat-store|nix cat-store]] === | === [[Nix_command/cat-store|nix cat-store]] === | ||
Print the contents of a file in the Nix store on stdout. | |||
=== [[Nix_command/copy-sigs|nix copy-sigs]] === | === [[Nix_command/copy-sigs|nix copy-sigs]] === | ||
Copy path signatures from substituters (like binary caches). | |||
=== [[Nix_command/dump-path|nix dump-path]] === | === [[Nix_command/dump-path|nix dump-path]] === | ||
Dump a store path to stdout (in NAR format). | |||
=== [[Nix_command/hash-file|nix hash-file]] === | === [[Nix_command/hash-file|nix hash-file]] === | ||
Print cryptographic hash of the NAR serialisation of a path. | |||
=== [[Nix_command/hash-path|nix hash-path]] === | === [[Nix_command/hash-path|nix hash-path]] === | ||
Print cryptographic hash of the NAR serialisation of a path. | |||
=== [[Nix_command/ls-nar|nix ls-nar]] === | === [[Nix_command/ls-nar|nix ls-nar]] === | ||
Show information about a path inside a NAR file. | |||
=== [[Nix_command/ls-store|nix ls-store]] === | === [[Nix_command/ls-store|nix ls-store]] === | ||
Show information about a path in the Nix store. | |||
=== [[Nix_command/make-content-addressable|nix make-content-addressable]] === | === [[Nix_command/make-content-addressable|nix make-content-addressable]] === | ||
Rewrite a path or closure to content-addressable form. | |||
=== [[Nix_command/optimize-store|nix optimize-store]] === | === [[Nix_command/optimize-store|nix optimize-store]] === | ||
Replace identical files in the store by hard links. | |||
=== [[Nix_command/ping-store|nix ping-store]] === | === [[Nix_command/ping-store|nix ping-store]] === | ||
Test whether a store can be opened. | |||
=== [[Nix_command/print-dev-env|nix print-dev-env]] === | === [[Nix_command/print-dev-env|nix print-dev-env]] === | ||
Print shell code that can be sourced by bash to reproduce the build environment of a derivation. | |||
=== [[Nix_command/show-config|nix show-config]] === | === [[Nix_command/show-config|nix show-config]] === | ||
Show the Nix configuration. | |||
=== [[Nix_command/show-derivation|nix show-derivation]] === | === [[Nix_command/show-derivation|nix show-derivation]] === | ||
Show the contents of a store derivation. | |||
=== [[Nix_command/sign-paths|nix sign-paths]] === | === [[Nix_command/sign-paths|nix sign-paths]] === | ||
Sign the specified paths. | |||
=== [[Nix_command/to-base16|nix to-base16]] === | === [[Nix_command/to-base16|nix to-base16]] === | ||
Convert a hash to base-16 representation. | |||
=== [[Nix_command/to-base32|nix to-base32]] === | === [[Nix_command/to-base32|nix to-base32]] === | ||
Convert a hash to base-32 representation. | |||
=== [[Nix_command/to-base64|nix to-base64]] === | === [[Nix_command/to-base64|nix to-base64]] === | ||
Convert a hash to base-64 representation. | |||
=== [[Nix_command/to-sri|nix to-sri]] === | === [[Nix_command/to-sri|nix to-sri]] === | ||
Convert a hash to SRI representation. |