Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-14 | ANSI_YELLOW -> ANSI_WARNING | Eelco Dolstra | |
2021-09-14 | Fix macOS build | Eelco Dolstra | |
2021-09-13 | RunOptions: Use designated initializers | Eelco Dolstra | |
Also get rid of _killStderr because it wasn't actually checked anywhere. | |||
2021-07-20 | Merge remote-tracking branch 'origin/repl-flake-support' | Eelco Dolstra | |
2021-07-19 | nix repl: Update :edit help text | Robert Hensing | |
It supports functions as well. Also change `package` to `derivation` because it operates at the language level and does not open the derivation (which would be useful but not nearly as much). | |||
2021-07-19 | Rename findDerivationFilename -> findPackageFilename | Robert Hensing | |
It does not operate on a derivation and does not return a derivation path. Instead it works at the language level, where a distinct term "package" is more appropriate to distinguish the parent object of `meta.position`; an attribute which doesn't even make it into the derivation. | |||
2021-07-19 | Add a `:load-flake` command to the nix repl | regnat | |
`:lf ref` does essentially the same thing as `:a (builtins.getFlake "ref")` (but cannonicalising `ref` if needs be, so that `:lf .` works) Fix #3803 | |||
2021-07-16 | Forward the whole Nix config to the repl subprocesses | regnat | |
Fill `NIX_CONFIG` with the value of the current Nix configuration before calling the nix subprocesses in the repl That way the whole configuration (including the possible `experimental-features`, a possibly `--store` option or whatever) will be made available. This is required for example to make `nix repl` work with a custom `--store` | |||
2021-06-29 | Forward the experimental features to the nix repl subprocesses | regnat | |
Pass the current experimental features using `NIX_CONFIG` to the various Nix subprocesses that `nix repl` invokes. This is quite a hack, but having `nix repl` call Nix with a subprocess is a hack already, so I guess that’s fine. | |||
2021-04-07 | restoreSignals() + restoreAffinity() -> restoreProcessContext() | Eelco Dolstra | |
2020-12-21 | Add 'nix repl' manpage | Eelco Dolstra | |
2020-12-18 | Replace Value type setters with mk* functions | Silvan Mosberger | |
Move clearValue inside Value mkInt instead of setInt mkBool instead of setBool mkString instead of setString mkPath instead of setPath mkNull instead of setNull mkAttrs instead of setAttrs mkList instead of setList* mkThunk instead of setThunk mkApp instead of setApp mkLambda instead of setLambda mkBlackhole instead of setBlackhole mkPrimOp instead of setPrimOp mkPrimOpApp instead of setPrimOpApp mkExternal instead of setExternal mkFloat instead of setFloat Add note that the static mk* function should be removed eventually | |||
2020-12-17 | Rename Value::normalType() -> Value::type() | Silvan Mosberger | |
2020-12-12 | Add ValueType checking functions for types that have the same NormalType | Silvan Mosberger | |
2020-12-12 | Use Value::normalType on all forced values instead of Value::type | Silvan Mosberger | |
2020-12-12 | Introduce Value type setters and make use of them | Silvan Mosberger | |
2020-11-02 | nix repl: Fix handling of multi-line expressions | Eelco Dolstra | |
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 | |