mirror of
https://github.com/NixOS/nix
synced 2025-06-29 10:31:15 +02:00
Improve display of GitHub input filenames in error messages
E.g. … while evaluating the attribute 'buildCommand' of the derivation 'vm-test-run-github-flakes' at «github:NixOS/nixpkgs/2fa57ed190fd6c7c746319444f34b5917666e5c1»/pkgs/stdenv/generic/make-derivation.nix:278:7:
This commit is contained in:
parent
9a9b03b8d6
commit
e17a619106
4 changed files with 24 additions and 9 deletions
|
@ -496,6 +496,8 @@ EvalState::EvalState(
|
|||
, baseEnv(allocEnv(128))
|
||||
, staticBaseEnv{std::make_shared<StaticEnv>(false, nullptr)}
|
||||
{
|
||||
corepkgsFS->setPathDisplay("<nix", ">");
|
||||
|
||||
countCalls = getEnv("NIX_COUNT_CALLS").value_or("0") != "0";
|
||||
|
||||
assert(gcInitialised);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue