Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
builtins.readFile: Put the references of the file, not those needed t…
…o realize the file, into the context
- Loading branch information
451c223
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @abbradar
451c223
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This broke a test: http://hydra.nixos.org/build/46356827
451c223
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, that works locally...
451c223
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm really confused as to how that could be happening... the
readFile
above works, so thepath
must be valid, unless somehow we're accidentally referencing an invalid path and reading from it?451c223
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can nix query validity from within the chroot?