The treewide change 8547db919a was done incorrectly for ghcjs. This hasn't been noticed so far due to a lack of CI.
8547db919a