Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-01 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-31 | Merge remote-tracking branch 'origin/master' into markdown | Eelco Dolstra | |
2020-08-28 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-25 | Add getDoc() function | Eelco Dolstra | |
2020-08-24 | nix repl ':doc': Render using lowdown | Eelco Dolstra | |
2020-08-24 | Allow primops to have Markdown documentation | Eelco Dolstra | |
2020-08-20 | Rename drv output querying functions, like master | John Ericson | |
- `queryDerivationOutputMapAssumeTotal` -> `queryPartialDerivationOutputMap` - `queryDerivationOutputMapAssumeTotal` -> `queryDerivationOutputMap | |||
2020-08-20 | Allow 'nix' subcommands to provide docs in Markdown format | Eelco Dolstra | |
2020-08-18 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
2020-08-14 | Merge pull request #3875 from obsidiansystems/new-interface-for-path-pathOpt | Eelco Dolstra | |
Offer a safer interface for path and pathOpt | |||
2020-08-07 | Squashed get CA derivations building | John Ericson | |
2020-08-06 | repl.cc: Check for HAVE_BOEHMGC | Eelco Dolstra | |
Fixes #3906. | |||
2020-08-01 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
2020-07-28 | Use the new interface | Carlo Nucera | |
2020-07-16 | Merge branch 'master' of github.com:NixOS/nix into ↵ | Carlo Nucera | |
optional-derivation-output-storepath | |||
2020-07-12 | String .drv suffix to create derivation name | John Ericson | |
2020-07-08 | Only store hash of fixed derivation output | Matthew Bauer | |
we don’t need a full storepath for a fixedoutput derivation. So just putting the ingestion method + the hash is sufficient. | |||
2020-07-08 | Add name to BasicDerivation | Matthew Bauer | |
We always have a name for BasicDerivation, since we have a derivation store path that has a name. | |||
2020-07-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-07-05 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
2020-06-26 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-24 | repl indenting | Ben Burdette | |
2020-06-24 | repl indenting | Ben Burdette | |
2020-06-21 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
2020-06-19 | addErrorTrace | Ben Burdette | |
2020-06-17 | Use `ansicolor.hh` in `nix repl` rather than duplicates | John Ericson | |
2020-06-17 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-17 | Move some Store functions from derivations.cc to store-api.cc | John Ericson | |
This further continues with the dependency inverstion. Also I just went ahead and exposed `parseDerivation`: it seems like the more proper building block, and not a bad thing to expose if we are trying to be less wedded to drv files on disk anywas. | |||
2020-05-11 | Merge branch 'master' into errors-phase-2 | Ben Burdette | |
2020-05-11 | Cleanup | Eelco Dolstra | |
2020-05-10 | Add completion for paths | Eelco Dolstra | |
2020-05-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
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-04-21 | remove 'format' from Error constructor calls | Ben Burdette | |
2020-03-20 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-03-19 | nix repl: Put EvalState on the heap | Eelco Dolstra | |
See 0629601da1d163a059fa19004256961f8ecdeb78. | |||
2020-03-19 | nix repl: Scan NixRepl for GC roots | Eelco Dolstra | |
Fixes #3175. | |||
2019-12-11 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-12-10 | Make the Store API more type-safe | Eelco Dolstra | |
Most functions now take a StorePath argument rather than a Path (which is just an alias for std::string). The StorePath constructor ensures that the path is syntactically correct (i.e. it looks like <store-dir>/<base32-hash>-<name>). Similarly, functions like buildPaths() now take a StorePathWithOutputs, rather than abusing Path by adding a '!<outputs>' suffix. Note that the StorePath type is implemented in Rust. This involves some hackery to allow Rust values to be used directly in C++, via a helper type whose destructor calls the Rust type's drop() function. The main issue is the dynamic nature of C++ move semantics: after we have moved a Rust value, we should not call the drop function on the original value. So when we move a value, we set the original value to bitwise zero, and the destructor only calls drop() if the value is not bitwise zero. This should be sufficient for most types. Also lots of minor cleanups to the C++ API to make it more modern (e.g. using std::optional and std::string_view in some places). | |||
2019-12-05 | Make subcommand construction in MultiCommand lazy | Eelco Dolstra | |
(cherry picked from commit a0de58f471c9087d8e6cc60a6078f9940a125b15) | |||
2019-11-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-10-28 | nix repl: also handle lambda edit | zimbatm | |
2019-10-28 | editorFor: take a pos object instead | zimbatm | |
2019-10-28 | libexpr: findDerivationFilename return Pos instead of tuple | zimbatm | |
2019-10-23 | libexpr: add findDerivationFilename | zimbatm | |
extract the derivation to filename:lineno heuristic | |||
2019-10-23 | libutil: add editorFor heuristic | zimbatm | |
2019-10-23 | nix repl: add :edit command | zimbatm | |
This allows to have a repl-centric workflow to working on nixpkgs. Usage: :edit <package> - heuristic that find the package file path :edit <path> - just open the editor on the file path Once invoked, `nix repl` will open $EDITOR on that file path. Once the editor exits, `nix repl` will automatically reload itself. | |||
2019-09-02 | nix repl: Run in impure mode | Eelco Dolstra | |
2019-07-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |