Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-28 | nixpkgsFlakeRef(): Use locked nixpkgs | Eelco Dolstra | |
2020-05-16 | rm includes | Matthew Kenigsberg | |
2020-05-16 | Create bashInteractive InstallableFlake | Matthew Kenigsberg | |
2020-05-16 | Call lockFlake once and store in _lockedFlake | Matthew Kenigsberg | |
2020-05-16 | use flake's nixpkgs to find bashInteractive | Matthew Kenigsberg | |
2020-05-16 | use nixpkgs#bashInteractive for dev-shell | Matthew Kenigsberg | |
2020-05-15 | Move registry-related commands from 'nix flake' to 'nix registry' | Eelco Dolstra | |
This makes 'nix flake' less cluttered and more consistent (it's only subcommands that operator on a flake). Also, the registry is not inherently flake-related (e.g. fetchTree could also use it to remap inputs). | |||
2020-05-13 | Update src/libfetchers/git.cc | Eelco Dolstra | |
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com> | |||
2020-05-12 | Merge pull request #3587 from NixOS/bash-completion | Eelco Dolstra | |
Generic shell completion support for the 'nix' command | |||
2020-05-12 | Fix InstallableCommand | Eelco Dolstra | |
2020-05-12 | Fix macOS build | Eelco Dolstra | |
macOS doesn't have GLOB_ONLYDIR. | |||
2020-05-11 | nix flake: Add completion support | Eelco Dolstra | |
2020-05-11 | When completing flakerefs, only return directories | Eelco Dolstra | |
2020-05-11 | Add completion for installables | Eelco Dolstra | |
This completes flakerefs using the registry (e.g. 'nix<TAB>' => 'nix nixpkgs') and flake output attributes by evaluating the flake (e.g. 'dwarffs#nix<TAB>' => 'dwarffs#nixosModules'). | |||
2020-05-11 | Shut up warnings while running completers | Eelco Dolstra | |
2020-05-11 | Cleanup | Eelco Dolstra | |
2020-05-10 | Simplify | Eelco Dolstra | |
2020-05-10 | Add completion for paths | Eelco Dolstra | |
2020-05-10 | nix: Implement basic bash completion | Eelco Dolstra | |
2020-05-09 | Reorder to build | Matthew Kenigsberg | |
This reverts commit 883948d7a0add742ccae58e9845d769a8064371c. | |||
2020-05-09 | Refactor installables | Matthew Kenigsberg | |
InstallableValue has children InstallableFlake and InstallableAttrPath, but InstallableFlake was overriding toDerivations, and usage was changed so that InstallableFlake didn't need cmd. So these changes were made: InstallableValue::toDerivations() -> InstalllableAttrPath::toDerivations() InstallableValue::cmd -> InstallableAttrPath::cmd InstallableValue uses state instead of cmd toBuildables() and toDerivations() were made abstract | |||
2020-05-09 | InstallableExpr unused | Matthew Kenigsberg | |
2020-05-07 | Update src/nix/search.cc | Eelco Dolstra | |
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com> | |||
2020-05-06 | Remove support for old lockfiles and the epoch/uri attributes | Eelco Dolstra | |
2020-05-06 | Remove obsolete FIXME | Eelco Dolstra | |
2020-05-06 | Remove the nixpkgs.<attr> compatibility hack | Eelco Dolstra | |
Since we've changed a lot of things in the 'nix' command (e.g. rename 'nix run') there is not much point in keeping this around. | |||
2020-05-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-05-06 | Merge pull request #3546 from guibou/nix_readfile_on_0_sized_files | Eelco Dolstra | |
builtins.readFile: do not truncate content | |||
2020-05-06 | Merge pull request #3557 from Ma27/nix-repl-help | Eelco Dolstra | |
Improve help-message for nix-repl | |||
2020-05-06 | Merge pull request #3562 from pikajude/master | Eelco Dolstra | |
Use fragment size for autoGC capacity calculation | |||
2020-05-06 | Revert "Merge pull request #3558 from LnL7/ssh-ng-stderr" | Eelco Dolstra | |
This reverts commit 3ebfbecdd187002569257f7cb183bf9e0b39af1e, reversing changes made to c089c52d5f1cff888552f485775b74226dcbe618. https://github.com/NixOS/nix/pull/3558 | |||
2020-05-05 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-05-05 | nix doctor: Consistency | Eelco Dolstra | |
2020-05-05 | nix --help: Group commands | Eelco Dolstra | |
2020-05-04 | nix auto-gc: use fragment size | Jude Taylor | |
2020-05-04 | Flag: Use designated initializers | Eelco Dolstra | |
2020-05-04 | Merge pull request #3558 from LnL7/ssh-ng-stderr | Eelco Dolstra | |
remote-store: don't log raw stderr by default | |||
2020-05-02 | logging: handle build log lines in simple logger | Daiderd Jordan | |
The raw stderr output isn't logged anymore so the build logs need to be printed by the default logger in order for the old commands like nix-build to still show build output. | |||
2020-05-02 | remote-store: don't log raw stderr by default | Daiderd Jordan | |
For remote stores the log messages are already forwarded as structured STDERR_RESULT messages so the old format is duplicate information. But still included with -vvv since it could be useful for debugging problems. $ nix build -L /nix/store/nl71b2niws857ffiaggyrkjwgx9jjzc0-foo.drv --store ssh-ng://localhost Hello World! foo> Hello World! [1/0/1 built] building foo Fixes #3556 | |||
2020-05-01 | Improve help-message for nix-repl | Maximilian Bosch | |
* Remove obsolete `printHelp` function * Add an example to demonstrate how to list all available commands within the REPL | |||
2020-05-01 | Fix build | Eelco Dolstra | |
2020-05-01 | rename nix run to nix shell and nix app to nix run | Matthew Kenigsberg | |
(cherry picked from commit 5d8504b9789ffebabe8226227c4061dd48354177) | |||
2020-05-01 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-04-30 | nix dev-shell: Unset shellHook | Eelco Dolstra | |
This avoids inheriting the caller's shellHook, which can happen when running a dev-shell inside a dev-shell. | |||
2020-04-30 | nix dev-shell: Support structured attrs | Eelco Dolstra | |
Tested against https://github.com/NixOS/nixpkgs/pull/72074. Fixes #3540. | |||
2020-04-30 | nix dev-shell: Refactor script for getting the environment | Eelco Dolstra | |
2020-04-30 | Merge pull request #3548 from Ma27/fetchtarball-pos | Domen Kožar | |
Fix displaying error-position in `builtins.fetch{Tree,Tarball}` | |||
2020-04-29 | rename nix run to nix shell and nix app to nix run | Matthew Kenigsberg | |
2020-04-29 | Fix displaying error-position in `builtins.fetch{Tree,Tarball}` | Maximilian Bosch | |
Without dereferencing this pointer, you'd get an error like this: ``` error: unsupported argument 'abc' to 'fetchTarball', at 0x13627e8 ``` | |||
2020-04-29 | StringSink pre allocate | Guillaume Bouchard | |
When used with `readFile`, we have a pretty good heuristic of the file size, so `reserve` this in the `string`. This will save some allocation / copy when the string is growing. |