Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-02 | Move installables-related operations | Eelco Dolstra | |
2021-09-30 | `std::visit` by reference | John Ericson | |
I had started the trend of doing `std::visit` by value (because a type error once mislead me into thinking that was the only form that existed). While the optomizer in principle should be able to deal with extra coppying or extra indirection once the lambdas inlined, sticking with by reference is the conventional default. I hope this might even improve performance. | |||
2021-09-02 | Don't use read-only mode for nix build --dry-run | Georges Dubus | |
In dry run mode, new derivations can't be create, so running the command on anything that has not been evaluated before results in an error message of the form `don't know how to build these paths (may be caused by read-only store access)`. For comparison, the classical `nix-build --dry-run` doesn't use read-only mode. Closes #1795 (cherry picked from commit 54525682df707742e58311c32e9c9cb18de1e31f) | |||
2021-07-22 | Use eval-store in more places | Eelco Dolstra | |
In particular, this now works: $ nix path-info --eval-store auto --store https://cache.nixos.org nixpkgs#hello Previously this would fail as it would try to upload the hello .drv to cache.nixos.org. Now the .drv is instantiated in the local store, and then we check for the existence of the outputs in cache.nixos.org. | |||
2021-06-21 | Only symlink the requested outputs in `nix build` | regnat | |
Fix #4925 | |||
2021-05-12 | DerivedPathWithHints -> BuiltPath | regnat | |
Just a renaming for now | |||
2021-04-27 | nix build: make dry-run to print a json output if --json is enabled | Félix Baylac-Jacqué | |
2021-04-05 | Make `DerivedPathWithHints` a newtype | John Ericson | |
This allows us to namespace its constructors under it. | |||
2021-04-05 | Rename Buildable | John Ericson | |
2021-01-21 | Fix clang build | Eelco Dolstra | |
2021-01-18 | Use enumerate() | Eelco Dolstra | |
2021-01-13 | Convert option descriptions to Markdown | Eelco Dolstra | |
2020-12-21 | Add 'nix build' manpage | Eelco Dolstra | |
2020-11-11 | Print built derivations as json for build | Matthew Kenigsberg | |
Add --json option to nix build to allow machine readable output on stdout with all built derivations Fixes #1930 | |||
2020-10-09 | Split out `local-fs-store.hh` | John Ericson | |
This matches the already-existing `local-fs-store.cc`. | |||
2020-10-06 | Remove static variable name clashes | Eelco Dolstra | |
This was useful for an experiment with building Nix as a single compilation unit. It's not very useful otherwise but also doesn't hurt... | |||
2020-09-03 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-09-03 | addPermRoot(): Remove indirect flag | Eelco Dolstra | |
2020-08-20 | Rename drv output querying functions, like master | John Ericson | |
- `queryDerivationOutputMapAssumeTotal` -> `queryPartialDerivationOutputMap` - `queryDerivationOutputMapAssumeTotal` -> `queryDerivationOutputMap | |||
2020-08-07 | Squashed get CA derivations building | John Ericson | |
2020-08-05 | Merge remote-tracking branch 'upstream/master' into buildable-variant | John Ericson | |
2020-07-31 | Tweak description | Eelco Dolstra | |
2020-07-31 | nix/build: add `--rebuild` option | Maximilian Bosch | |
Occasionally, `nix-build --check` is fairly helpful and I'd like to be able to use this feature for flakes that need to be built with `nix build` as well. | |||
2020-07-23 | Make `Buildable` a `std::variant` | John Ericson | |
I think this better captures the intent of what's going on: we either have an opaque store path, or a drv path with some outputs. Having this structure will also help us support CA derivations: we'll have to allow the outpath paths to be optional, so the structure we gain now makes up for the structure we loose then. | |||
2020-07-15 | Clean up RealiseMode | Eelco Dolstra | |
2020-05-10 | Add completion for paths | Eelco Dolstra | |
2020-05-05 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-05-04 | Flag: Use designated initializers | Eelco Dolstra | |
2020-04-01 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-03-31 | Typo | Eelco Dolstra | |
2020-03-30 | Backport 'nix dev-shell' from the flakes branch | Eelco Dolstra | |
This also adds a '--profile' option to 'nix build' (replacing 'nix-env --set'). | |||
2019-12-05 | Make subcommand construction in MultiCommand lazy | Eelco Dolstra | |
(cherry picked from commit a0de58f471c9087d8e6cc60a6078f9940a125b15) | |||
2019-10-08 | Move addRegistrOverrides | Eelco Dolstra | |
2019-07-12 | nix build: Add '--profile' flag | Eelco Dolstra | |
This replaces 'nix-env --set'. For example: $ nix build --profile /nix/var/nix/profiles/system \ ~/Misc/eelco-configurations:nixosConfigurations.vyr.config.system.build.toplevel updates the NixOS system profile from a flake. This could have been a separate command (e.g. 'nix set-profile') but 1) '--profile' is pretty similar to '--out-link'; and 2) '--profile' could be useful for other command (like 'nix dev-shell'). | |||
2019-06-18 | Make subcommand construction in MultiCommand lazy | Eelco Dolstra | |
2019-04-30 | Fixed issue #13 | Nick Van den Broeck | |
2019-04-19 | Use "." as the default installable | Eelco Dolstra | |
This makes e.g. "nix build" do something more or less reasonable (namely, build the default package of the flake in the current directory). | |||
2019-04-16 | Update lock files from InstallableFlake::toValue() | Eelco Dolstra | |
This ensures that the lock file is updated *before* evaluating it, and that it gets updated for any nix command, not just 'nix build'. Also, while computing the lock file, allow arbitrary registry lookups, not just at top-level. Also, improve some error messages slightly. | |||
2019-04-16 | Improve incremental build | Eelco Dolstra | |
2019-04-15 | Merge remote-tracking branch 'tweag/automatedUpdate' into flakes | Eelco Dolstra | |
2019-04-11 | Automated lockfile updating with `nix build` | Nick Van den Broeck | |
2019-04-11 | FlakeRegistry = FlakeRef -> FlakeRef | Nick Van den Broeck | |
2019-04-09 | FlakeAlias is implemented | Nick Van den Broeck | |
2019-04-09 | Fixed dependency resolution | Nick Van den Broeck | |
2019-04-09 | FlakeIds are now properly looked up in registries | Nick Van den Broeck | |
2019-04-09 | Added nonFlakeRequires and the command `nix flake deps` | Nick Van den Broeck | |
2019-03-26 | Remove debug line | Eelco Dolstra | |
2019-03-22 | Fixed minor things | Nick Van den Broeck | |
2019-03-22 | Implemented --flake flag for nix build | Nick Van den Broeck | |
Also fixed Eelco's PR comments | |||
2018-02-22 | Merge branch 'fix/dry-run-partially' of https://github.com/dtzWill/nix | Eelco Dolstra | |