shadow-internal-symbols deprecation breaks Tvix users #599
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#599
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
I have some repos using Niv to pin dependencies. The
sources.nix
file created by Niv seems to make use of this feature, essentially breaking all Niv users currently.55422d6f26/nix/sources.nix (L88)
Steps To Reproduce
Expected behavior
This might be intentional, I'm not sure. But I'd prefer a strategy where Lix would only warn about this for some time, and popular upstream users of this feature (like Niv) would be given time to accomplish this differently. It'll also take some time for downstream Niv users to update their sources.nix files.
Unfortunately the error message is misleading. The line of Niv in question is completely unproblematic, but it throws an error because it happens to be parsed in a context that has
__findFile
overwritten. As far as I can tell, Niv does not override__findFile
, therefore it must be happening in external code calling this file withscopedImport
and a respective override.I'll check later, but this should not be breaking all Niv users, but only this specific project setup
shadow-internal-symbols deprecation breaks niv usersto shadow-internal-symbols deprecation breaks Tvix usersThis issue was mentioned on Gerrit on the following CLs: