-
Notifications
You must be signed in to change notification settings - Fork 822
Description
Build flags seem to be ignored when judging whether a package can stay in nightly.
GLUT was dropped from nightly, because of a bound random < 1.3
, but random
is only used in some executables (examples) rather than the GLUT library. These examples are only built with flag BuildExamples
, which is off by default.
Thus, I think GLUT (and its dependants like gloss
) should not have been disabled.
stackage/build-constraints.yaml
Line 6126 in c671e09
- GLUT < 0 # tried GLUT-2.7.0.16, but its *executable* requires random >=1.0 && < 1.3 and the snapshot contains random-1.3.1 |
stackage/build-constraints.yaml
Line 6170 in c671e09
- Vis < 0 # tried Vis-1.0.0, but its *library* requires the disabled package: GLUT |
stackage/build-constraints.yaml
Line 6957 in c671e09
- gloss < 0 # tried gloss-1.13.2.2, but its *library* requires the disabled package: GLUT |
stackage/build-constraints.yaml
Line 6964 in c671e09
- gloss-rendering < 0 # tried gloss-rendering-1.13.2.1, but its *library* requires the disabled package: GLUT |
With resolver: nightly-2025-07-23
, stack build
succeeds for GLUT.
It seems that the dependency checker of Stackage does not take build flags into account, does it?
References: