You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flakes: builtins.toXML and nix run use checkout path instead of store path #16550
Since 2.32, a path value in a git flake (./data.txt) returns the path in
the local checkout in places where it used to be the store path:
builtins.toXML ./data.txt gives <path value="/home/me/project/data.txt" />
instead of /nix/store/…-source/data.txt, so the XML depends on where the
flake is checked out.
An app with program = ./run.sh fails with error: app program '/home/me/project/run.sh' is not in the Nix store.
This works in 2.31, and with a path: flake.
/nix/store/…-source/data.txt
<?xml version='1.0' encoding='utf-8'?>
<expr>
<path value="/tmp/tmp.XXXXXXXXXX/data.txt" />
</expr>
error: app program '/tmp/tmp.XXXXXXXXXX/run.sh' is not in the Nix store
Activity
libexpr: Don't leak output of SourceAccessor::showPath in eval
libexpr: Don't leak output of SourceAccessor::showPath in eval
xokdvium commentedon Nov 8, 2026
Fixed the cases outlined here and more that I could find #16780
libexpr: Don't leak output of SourceAccessor::showPath in eval