Incompatibility with nix-plugins #671
Labels
No labels
Affects/CppNix
Affects/Nightly
Affects/Only nightly
Affects/Stable
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/lix ci
Area/nix-eval-jobs
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/repl/debugger
Area/store
bug
Context
contributors
Context
drive-by
Context
maintainers
Context
RFD
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Language/Bash
Language/C++
Language/NixLang
Language/Python
Language/Rust
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
Topic/Large Scale Installations
ux
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#671
Loading…
Add table
Add a link
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
This is a particular issue with https://github.com/shlevy/nix-plugins, which adds native plugins (at the cpp level) to Nix. When attempting to install while using lix, CMake will complain while trying to find the following packages:
Does Lix not provide these libraries? Should it?
Steps To Reproduce
pkgs.nix-plugins
to your environmentExpected behavior
That nix-plugins is installed and functions correctly.
nix --version
outputnix (Lix, like Nix) 2.91.1
Additional context
Full error output:
I think someone might have a Lix compatible fork of that plugin, though I don't find one on this forgejo (making one is really not that hard if you really need the builtins from that plugin) but otherwise that stuff is not supported. Lix does not expose a compatible C++ API and will never do so.
Technically the Lix overlay could exclude nix-plugins or make them an eval error that tells you they're not supported, but I don't know if that's really a better solution.
The changes you would need in your nix-plugins fork are:
There's so little code in that that the rest is unlikely to be too hard. If you have issues feel free to drop in on the developer Matrix room.