about summary refs log tree commit diff
path: root/src/nix/command.cc
AgeCommit message (Collapse)AuthorFilesLines
2017-07-14 StorePathsCommand: Don't build installablesEelco Dolstra1-2/+2
On second though this was annoying. E.g. "nix log nixpkgs.hello" would build/download Hello first, even though the log can be fetched directly from the binary cache. May need to revisit this.
2017-07-14 nix: Show help when no arguments are givenEelco Dolstra1-1/+1
Fixes #1464.
2017-05-04 nix dump-path: AddEelco Dolstra1-0/+10
This is primarily useful for extracting NARs from other stores (like binary caches), which "nix-store --dump" cannot do.
2017-04-25 StorePathCommands: Build installablesEelco Dolstra1-10/+2
So for instance "nix copy --to ... nixpkgs.hello" will build nixpkgs.hello first. It's debatable whether this is a good idea. It seems desirable for commands like "nix copy" but maybe not for commands like "nix path-info".
2017-04-25 Make StorePathsCommand a subclass of InstallablesCommandEelco Dolstra1-4/+14
This allows commands like 'nix path-info', 'nix copy', 'nix verify' etc. to work on arbitrary installables. E.g. to copy geeqie to a binary cache: $ nix copy -r --to file:///tmp/binary-cache nixpkgs.geeqie Or to get the closure size of thunderbird: $ nix path-info -S nixpkgs.thunderbird
2017-04-25 Restructure installables handling in the "nix" commandEelco Dolstra1-0/+7
2017-03-16 nix copy: Make -r option use the "from" storeEelco Dolstra1-1/+6
Previously, we tried to compute the closure in the local store, which obviously doesn't work.
2016-11-26 Revert "Get rid of unicode quotes (#1140)"Eelco Dolstra1-3/+3
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There really is no need for such a massive change...
2016-11-25 Get rid of unicode quotes (#1140)Guillaume Maudoux1-3/+3
2016-11-10 Store::computeFSClosure(): Support a set of pathsEelco Dolstra1-2/+2
This way, callers can exploits the parallelism of computeFSClosure() when they have multiple paths that they need the (combined) closure of.
2016-09-02 Merge openStore and openStoreAt with default argumentsShea Levy1-1/+1
2016-06-01 Make the store directory a member variable of StoreEelco Dolstra1-1/+1
2016-05-04 Add a Store::addToStore() variant that accepts a NAREelco Dolstra1-1/+1
As a side effect, this ensures that signatures are propagated when copying paths between stores. Also refactored import/export to make use of this.
2016-04-21 nix --help: Show usage examplesEelco Dolstra1-0/+15
2016-04-15 Unify "nix verify-paths" and "nix verify-store"Eelco Dolstra1-6/+16
"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-03-29 Add "nix verify-paths" commandEelco Dolstra1-0/+21
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 Dolstra1-1/+8
This is a bit user-friendlier than using $NIX_REMOTE.
2016-02-25 Fix buildEelco Dolstra1-1/+1
2016-02-09 Start of new Nix command-line interfaceEelco Dolstra1-0/+65