Skip to content

Commit dd8b314

Browse files
committed
Work around aeson failing test suite with -O0
1 parent 2cc53bb commit dd8b314

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

survey/default.nix

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,22 @@ let
10251025
(if disableOptimization then dontCheck else lib.id)
10261026
super.unordered-containers;
10271027

1028+
# Fails the tests
1029+
# FromJSONKey
1030+
# -: OK
1031+
# -: OK
1032+
# -: OK
1033+
# -: OK
1034+
# -: FAIL
1035+
# tests/UnitTests.hs:309:
1036+
# Const Text
1037+
# Use -p '$0=="tests.unit.FromJSONKey.-"' to rerun this test only.
1038+
#
1039+
# TODO: File an upstream bug for that, after reproducing it outside of nix.
1040+
aeson =
1041+
(if disableOptimization then dontCheck else lib.id)
1042+
super.aeson;
1043+
10281044
arbtt =
10291045
addStaticLinkerFlagsWithPkgconfig
10301046
super.arbtt

0 commit comments

Comments
 (0)