about summary refs log tree commit diff
path: root/src/nix
AgeCommit message (Collapse)AuthorFilesLines
2016-04-19 Move path info caching from BinaryCacheStore to StoreEelco Dolstra2-25/+27
Caching path info is generally useful. For instance, it speeds up "nix path-info -rS /run/current-system" (i.e. showing the closure sizes of all paths in the closure of the current system) from 5.6s to 0.15s. This also eliminates some APIs like Store::queryDeriver() and Store::queryReferences().
2016-04-15 Unify "nix verify-paths" and "nix verify-store"Eelco Dolstra3-60/+31
"verify-store" is now simply an "--all" flag to "nix verify". This flag can be used for any other store path command as well (e.g. "nix path-info", "nix copy-sigs", ...).
2016-04-07 nix verify-paths: Add ‘--sigs-needed <N>’ flagEelco Dolstra1-15/+31
This specifies the number of distinct signatures required to consider each path "trusted". Also renamed ‘--no-sigs’ to ‘--no-trust’ for the flag that disables verifying whether a path is trusted (since a path can also be trusted if it has no signatures, but was built locally).
2016-04-05 Add "nix sign-paths" commandEelco Dolstra1-1/+49
E.g. $ nix sign-paths -k ./secret -r $(type -p geeqie) signs geeqie and all its dependencies using the key in ./secret.
2016-04-05 Add "nix copy-sigs" commandEelco Dolstra1-0/+133
This imports signatures from one store into another. E.g. $ nix copy-sigs -r /run/current-system -s https://cache.nixos.org/ imported 595 signatures
2016-03-30 nix verify: Support checking against signatures in other storesEelco Dolstra1-2/+33
Typical usage is to check local paths using the signatures from a binary cache: $ nix verify-paths -r /run/current-system -s https://cache.nixos.org path ‘/nix/store/c1k4zqfb74wba5sn4yflb044gvap0x6k-nixos-system-mandark-16.03.git.fc2d7a5M’ is untrusted ... checked 844 paths, 119 untrusted
2016-03-29 Add "nix verify-store" commandEelco Dolstra1-13/+53
Like "nix-store --verify --check-contents", but with the same advantages as "nix verify-paths".
2016-03-29 Add "nix verify-paths" commandEelco Dolstra5-0/+283
Unlike "nix-store --verify-path", this command verifies signatures in addition to store path contents, is multi-threaded (especially useful when verifying binary caches), and has a progress indicator. Example use: $ nix verify-paths --store https://cache.nixos.org -r $(type -p thunderbird) ... [17/132 checked] checking ‘/nix/store/rawakphadqrqxr6zri2rmnxh03gqkrl3-autogen-5.18.6’
2016-03-21 nix: Add --store flagEelco Dolstra2-4/+10
This is a bit user-friendlier than using $NIX_REMOTE.
2016-03-15 Fix Darwin buildEelco Dolstra1-0/+1
http://hydra.nixos.org/build/33279996
2016-03-14 Fix build on clang due to -Wmismatched-tagsEelco Dolstra1-1/+2
http://hydra.nixos.org/build/33073389
2016-03-04 Add warning about "nix" being experimentalEelco Dolstra1-0/+1
2016-02-25 nix: Add commands to query contents of NARs / binary cachesEelco Dolstra2-0/+197
For example, $ NIX_REMOTE=file:///my-cache nix ls-store -lR /nix/store/f4kbgl8shhyy76rkk3nbxr0lz8d2ip7q-binutils-2.23.1 dr-xr-xr-x 0 ./bin -r-xr-xr-x 30748 ./bin/addr2line -r-xr-xr-x 66973 ./bin/ar ... Similarly, "nix ls-nar" lists the contents of a NAR file, "nix cat-nar" extracts a file from a NAR file, and "nix cat-store" extract a file from a Nix store.
2016-02-25 Fix buildEelco Dolstra3-6/+6
2016-02-16 Fix to-base16 descriptionTristan Hume1-1/+1
2016-02-09 Add basic "nix build" commandEelco Dolstra3-0/+159
Currently only builds by attribute from <nixpkgs> or the specified file, e.g. "nix build hello".
2016-02-09 Start of new Nix command-line interfaceEelco Dolstra7-0/+357
2003-11-18 * nix -> nix-store, fix -> nix-instantiate.Eelco Dolstra5-506/+0
2003-11-18 * "Nix expression" -> "store expression".Eelco Dolstra4-16/+16
* More refactoring.
2003-11-18 * libnix -> libstore.Eelco Dolstra1-2/+2
2003-11-18 * Source tree refactoring.Eelco Dolstra1-3/+3
2003-10-20 * Finished refactoring the tree.Eelco Dolstra1-0/+27
2003-10-20 * Refactored the source tree.Eelco Dolstra4-0/+479