--override-input
does not affect flake.lock
in self.outPath
#6894
Labels
--override-input
does not affect flake.lock
in self.outPath
#6894
Describe the bug
One of the notable uses of flakes is to provide traceability. For example, one may include a reference to
self.outPath
in one's nixos configuration in order to retain a copy of the flake that was used to create the generation. However, this fails to correctly record the source in the case where--override-input
is used.Steps To Reproduce
Expected behavior
I would expect the
flake.lock
inself
to reflect the actual evaluation conditions, rather than the flake.lock that happened to be in the source, when they differ due to command-line overrides.nix-env --version
outputThe text was updated successfully, but these errors were encountered: