lix-releng-staging/src/libexpr
Eelco Dolstra d89840b103 Make InstallableFlake::toValue() and toDerivation() behave consistently
In particular, this means that 'nix eval` (which uses toValue()) no
longer auto-calls functions or functors (because
AttrCursor::findAlongAttrPath() doesn't).

Fixes #6152.

Also use ref<> in a few places, and don't return attrpaths from
getCursor() because cursors already have a getAttrPath() method.
2022-04-14 14:07:04 +02:00
..
flake Document getFlake 2022-03-25 14:19:55 +01:00
primops fetchClosure: Don't allow URL query parameters 2022-04-06 11:52:51 +02:00
attr-path.cc Implement a suggestions mechanism 2022-03-07 10:09:09 +01:00
attr-path.hh Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
attr-set.cc Remove EvalState::mkAttrs() 2022-01-04 20:29:17 +01:00
attr-set.hh Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
common-eval-args.cc Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
common-eval-args.hh Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
eval-cache.cc Make InstallableFlake::toValue() and toDerivation() behave consistently 2022-04-14 14:07:04 +02:00
eval-cache.hh Make InstallableFlake::toValue() and toDerivation() behave consistently 2022-04-14 14:07:04 +02:00
eval-inline.hh add HAVE_BOEHMGC guards to batched allocation functions 2022-03-09 00:18:50 +01:00
eval.cc Add support for impure derivations 2022-03-31 13:43:20 +02:00
eval.hh Add support for impure derivations 2022-03-31 13:43:20 +02:00
fetchurl.nix Move <nix/fetchurl.nix> into the nix binary 2020-12-22 14:43:20 +01:00
function-trace.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
function-trace.hh Hide FunctionCallTrace constructor/destructor 2020-01-05 16:21:34 +01:00
get-drvs.cc Clean up DerivationOutput, and headers 2022-03-17 22:35:53 +00:00
get-drvs.hh nix-env: always print output names in JSON and XML 2022-03-16 21:26:19 +01:00
imported-drv-to-derivation.nix Move some corepkgs into the nix binary 2020-03-11 16:57:48 +01:00
json-to-value.cc return string_views from forceString* 2022-01-27 17:15:43 +01:00
json-to-value.hh return string_views from forceString* 2022-01-27 17:15:43 +01:00
lexer.l lexer: add error location to lexer errors 2022-03-24 08:16:14 +00:00
local.mk Merge pull request #5175 from Pamplemousse/make 2021-08-30 12:44:29 +02:00
nix-expr.pc.in pkg-config files: Use c++17 2019-03-14 14:11:12 +01:00
nixexpr.cc Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
nixexpr.hh make Pos smaller 2022-03-08 23:30:18 +01:00
parser.y Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
primops.cc Fix handling of outputHash when outputHashAlgo is not specified 2022-04-01 12:40:49 +02:00
primops.hh Only provide builtin.{getFlake,fetchClosure} is the corresponding experimental feature is enabled 2022-03-25 14:04:18 +01:00
symbol-table.hh Remove std::string alias 2022-02-21 16:37:25 +01:00
value-to-json.cc libexpr: Throw the correct error in toJSON 2022-03-30 15:50:13 +02:00
value-to-json.hh toJSON: report error position for fancier output 2021-10-25 21:17:52 +00:00
value-to-xml.cc Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
value-to-xml.hh toXML: display errors position 2021-11-13 20:33:34 -05:00
value.hh Don't hide repeated values while generating manifest.nix 2022-03-22 13:18:56 +01:00