haddock build error when using hadrian
When I run ./boot && ./configure && ./hadrian/build stage1:exe:haddock
I get:
Error when running Shake build system:
at want, called at src/Main.hs:102:30 in main:Main
* Depends on: stage1:exe:haddock
at need, called at src/Rules/SimpleTargets.hs:35:5 in main:Rules.SimpleTargets
* Depends on: _build/stage0/bin/haddock
at need, called at src/Rules/Program.hs:90:5 in main:Rules.Program
* Depends on: _build/stage0/lib/html/node_modules/fsevents/build/Release/obj.target/fse/fsevents.o
* Raised the exception:
Build system error - key matches multiple rules:
Key type: FileQ
Key value: _build/stage0/lib/html/node_modules/fsevents/build/Release/obj.target/fse/fsevents.o
Rules matched: 2
Rule 1: "_build/stage0/lib/html/**" %> at %>, called at src/Rules/Generate.hs:160:31 in main:Rules.Generate
Rule 2: ["_build/**/build/**/*.o","_build/**/build/**/*.hi"] &%> at &%>, called at src/Rules/Compile.hs:77:9 in main:Rules.Compile
Modify your rules so only one can produce the above key