From fc977926a84c8adf3137dab0a0667c57b34c11ff Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Sat, 9 Sep 2023 10:45:10 +0200 Subject: [PATCH] add workaround to the locals bug --- content/posts/nixcon2023/slides/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/posts/nixcon2023/slides/index.html b/content/posts/nixcon2023/slides/index.html index 2b164b3..5a85f85 100644 --- a/content/posts/nixcon2023/slides/index.html +++ b/content/posts/nixcon2023/slides/index.html @@ -301,6 +301,8 @@ s.nix"; line = 1193; } * pass `--debugger` to nix * use `builtins.break (value)` somewhere in the evaluation path +* NOTE: `(v: builtins.break v) value` may get more locals + (see [nix#8827](https://github.com/NixOS/nix/issues/8827)) * then use `unsafeGetAttrPos` and others to figure out the source of a value