Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-04-18 | Allow multiple search experssions in nix search | Daniel Poelzleithner | 1 | -18/+38 | |
The common use case is to search for packages containing multiple words like a "git" "frontend". Having only one expressions makes this simple regular use case very complicated. Instead, search accepts multiple regular epressions which all need to match. nix search git 'gui|frontend' returns a list of all git uis for example | |||||
2018-04-17 | Handle arguments in $EDITOR | Eelco Dolstra | 1 | -2/+2 | |
Fixes #2079. | |||||
2018-04-16 | nix repl: Fix multiline SIGINT handling. | Félix Baylac-Jacqué | 1 | -0/+1 | |
Fixes #2076 | |||||
2018-04-11 | Fix #2057 | Eelco Dolstra | 1 | -0/+1 | |
2018-03-30 | nix copy: add an example with S3 | zimbatm | 1 | -0/+6 | |
I couldn't find a good example how to use it with non-us-east-1 buckets. | |||||
2018-03-29 | Remove reference to non-existent manpages | Eelco Dolstra | 1 | -0/+2 | |
2018-03-15 | Filter ANSI colors when not writing to a terminal | Eelco Dolstra | 1 | -1/+1 | |
Fixes https://github.com/NixOS/nixpkgs/issues/37114. | |||||
2018-03-13 | Merge pull request #1906 from dtzWill/fix/nix-search | Shea Levy | 1 | -1/+6 | |
nix search: tests and fix #1893 and part of #1892 | |||||
2018-03-02 | Merge branch 'improve-search-algorithm' of git://github.com/Ma27/nix | Shea Levy | 1 | -6/+6 | |
2018-03-02 | Merge branch 'write-failure-fixes' of git://github.com/lheckemann/nix | Shea Levy | 1 | -0/+1 | |
2018-02-26 | nix run: Fix segfault on macOS | Eelco Dolstra | 1 | -3/+1 | |
Note that clearenv() is not available on macOS. Fixes #1907. | |||||
2018-02-25 | nix search: explicitly handle empty search string, fixes #1893 | Will Dietz | 1 | -0/+5 | |
This is important since this is given as an example. Other patterns containing "empty search string" will still be handled differently on different platforms ("asdf|") but that's less of an issue. | |||||
2018-02-25 | nix search: fix bug where we wrote to cache when shouldn't, breaking | Will Dietz | 1 | -1/+1 | |
This is exposed by the tests added previously, and resolves the error reported in #1892: "expected JSON value". | |||||
2018-02-22 | Merge branch 'fix/dry-run-partially' of https://github.com/dtzWill/nix | Eelco Dolstra | 1 | -0/+2 | |
2018-02-21 | Manual: Update chapter on remote builds | Eelco Dolstra | 1 | -0/+35 | |
Alos add a command "nix ping-store" to make it easier to see if Nix can connect to a remote builder (e.g. 'nix ping-store --store ssh://mac'). | |||||
2018-02-21 | nix-copy: fix examples | Jörg Thalheim | 1 | -3/+3 | |
maybe a left-over from nix-store -r ? | |||||
2018-02-19 | Update release notes | Eelco Dolstra | 2 | -0/+24 | |
Also add some examples to nix --help. | |||||
2018-02-13 | Fix #1762 | Linus Heckemann | 1 | -0/+1 | |
nix-store --export, nix-store --dump, and nix dump-path would previously fail silently if writing the data out failed, because a) FdSink::write ignored exceptions, and b) the commands relied on FdSink's destructor, which ignores exceptions, to flush the data out. This could cause rather opaque issues with installing nixos, because nix-store --export would happily proceed even if it couldn't write its data out (e.g. if nix-store --import on the other side of the pipe failed). This commit adds tests that expose these issues in the nix-store commands, and fixes them for all three. | |||||
2018-02-13 | Merge branch 'plugins' of https://github.com/shlevy/nix | Eelco Dolstra | 1 | -0/+2 | |
2018-02-12 | toBuildables -> build | Eelco Dolstra | 3 | -4/+4 | |
2018-02-08 | Add plugins to make Nix more extensible. | Shea Levy | 1 | -0/+2 | |
All plugins in plugin-files will be dlopened, allowing them to statically construct instances of the various Register* types Nix supports. | |||||
2018-02-07 | nix build: Don't create output links with --dry-run. | Will Dietz | 1 | -0/+2 | |
Fixes #1849. | |||||
2018-02-07 | Improve filtering of ANSI escape sequences in build logs | Eelco Dolstra | 1 | -39/+4 | |
All ANSI sequences except color setting are now filtered out. In particular, terminal resets (such as from NixOS VM tests) are filtered out. Also, fix the completely broken tab character handling. | |||||
2018-02-06 | Update the progress bar at most 20 times per second | Eelco Dolstra | 2 | -14/+31 | |
Fixes #1834. | |||||
2018-02-05 | Tweak progress bar message | Eelco Dolstra | 1 | -1/+6 | |
Say "copying" instead of "fetching" when copying from another local store. Nice for nixos-install. | |||||
2018-01-31 | Add 'nix upgrade-nix' command | Eelco Dolstra | 3 | -1/+137 | |
This command upgrades Nix to the latest stable version by installing a store path obtained from https://github.com/NixOS/nixpkgs/raw/master/nixos/modules/installer/tools/nix-fallback-paths.nix which is the same store path that the installer at https://nixos.org/nix/install.sh uses. The upgrade fails if Nix is not installed in a profile (e.g. on NixOS, or when installed outside of the Nix store). | |||||
2018-01-17 | nix eval: Stop progress bar before printing the result | Eelco Dolstra | 1 | -0/+4 | |
2018-01-17 | nix eval: Take only one argument | Eelco Dolstra | 1 | -15/+11 | |
Thus --json no longer produces a list. | |||||
2018-01-16 | parseExprFromFile -> evalFile | Eelco Dolstra | 1 | -4/+2 | |
parseExprFromFile() should be avoided since it doesn't cache anything. | |||||
2018-01-12 | nix log: use pager | Will Dietz | 1 | -0/+1 | |
2017-12-26 | nix repl: use linenoiseKeyType to differentiate ^C and ^D | Will Dietz | 1 | -1/+10 | |
Fixes #1757. | |||||
2017-12-14 | edit: Catch stoi exceptions from line number parsing | Ben Gamari | 1 | -1/+6 | |
2017-12-12 | search.cc: sort attribute names with `std::map` | Maximilian Bosch | 1 | -6/+6 | |
2017-12-11 | Fix forward-decl of Bindings as "class", match definition. | Will Dietz | 1 | -1/+1 | |
(appease clang -Wmismatched-tags warning) | |||||
2017-12-11 | Merge branch 'feature/linenoise-ng' of git://github.com/dtzWill/nix | Shea Levy | 2 | -2/+2 | |
2017-12-04 | Fix #1635. | Eelco Dolstra | 1 | -3/+18 | |
2017-11-27 | no "linenoiseFree" in linenoise-ng | Will Dietz | 1 | -1/+1 | |
2017-11-27 | replace vendored linenoise with linenoise-ng | Will Dietz | 1 | -1/+1 | |
2017-11-20 | nix eval --raw: Use coerceToString() | Eelco Dolstra | 1 | -2/+6 | |
Thus, $ nix eval --raw '("foo")' foo $ nix eval --raw nixpkgs.hello /nix/store/1y6ckg6khrdsvll54s5spcmf3w6ka9k4-hello-2.10 $ nix eval --raw '(/etc/resolv.conf)' /nix/store/vml92ama92i8mz013nny461mlvg8mvap-resolv.conf | |||||
2017-11-20 | nix run: Fix "flag '--command' requires 2 argument(s)" | Eelco Dolstra | 1 | -1/+1 | |
2017-11-20 | nix run: Fix accidental removal of /nix/store existence check | Eelco Dolstra | 1 | -1/+1 | |
Parenthetical to #1686, we don't need to create a new root if we can just bind-mount on top of the existing /nix/store. | |||||
2017-11-20 | nix run: Ignore non-directories while setting up the chroot | Eelco Dolstra | 1 | -3/+6 | |
Fixes #1686. | |||||
2017-11-14 | nix ls-{nar,store} --json: Respect -R | Eelco Dolstra | 1 | -1/+1 | |
2017-11-14 | Don't indent JSON output | Eelco Dolstra | 4 | -4/+4 | |
2017-11-14 | nix ls-{store,nar}: Add --json flag | Eelco Dolstra | 1 | -6/+15 | |
2017-11-14 | Make config options available to legacy commands | Eelco Dolstra | 1 | -4/+0 | |
2017-10-24 | More progress indicator improvements | Eelco Dolstra | 1 | -0/+4 | |
In particular, don't show superfluous "fetching path" and "building path(s)" messages, and show the current round (with --repeat). | |||||
2017-10-24 | Progress indicator: Show on what machine we're building | Eelco Dolstra | 1 | -0/+3 | |
E.g. $ nix build nixpkgs.hello --builders 'root@wendy' [1/0/1 built] building hello-2.10 on ssh://root@wendy: checking for minix/config.h... no | |||||
2017-10-24 | nix: Respect -I, --arg, --argstr | Eelco Dolstra | 11 | -56/+88 | |
Also, random cleanup to argument handling. | |||||
2017-10-23 | Turn $NIX_REMOTE into a configuration option | Eelco Dolstra | 2 | -5/+1 | |