isStatic
has no non-function representation, but nix-env --meta
assumes one exists
#212925
Labels
0.kind: bug
Something is broken
I am working on this bug. First reported here.
The root cause of the problem is that there is no "pattern" (see
lib/system/inspect.nix
) representation forisStatic
. It is special, unlike all the other platform predicates. It is this way becausepkgsStatic
exists, and because... in other words, "static-ness" is not represented in the
gnu-config
triple for a platform.Right now we try to pretend that you can reconstruct all the pattern-representable aspects of a
hostPlatform
from itsconfig
. That isn't really true, because ofisStatic
anduseLLVM
, and it's getting more untrue as time goes on. The long-term solution is to stop pretending.I have a possible short-term fix that I'm testing.
The text was updated successfully, but these errors were encountered: