Replies: 1 comment
-
Closing discussion as I've found examples of how it can be done in some configs on github |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I was recently trying to share some state among my submodules and I thought that something like this could attach custom attributes to
config
.So basically what I thought I was doing was attaching rustToolchain and buildRustPackage to config so I could later access it via
config.rustToolchain
. This doesn't work, but it got me thinking - maybe it should work? Was I trying to achieve it in a bad way maybe? I imagine that sharing state like that between submodules could be useful and it would be pretty weird to use overlays to share config variables.Are there any other ways to share derivations/variables between submodules or should I attach things to pkgs?
Beta Was this translation helpful? Give feedback.
All reactions