haskell.compiler.ghcjs: allow building with transformers-compat-0.7

ghcjs's dependency optparse-applicative 0.15.1.0 restricts
transformers-compat to < 0.7 which is unnecessary.
This commit is contained in:
sternenseemann 2022-12-30 12:47:20 +01:00
parent 00ca09719c
commit 0c761f74f0

View file

@ -13,6 +13,7 @@ in self: super: {
})
];
}) (super.ghcjs.overrideScope (self: super: {
optparse-applicative = self.optparse-applicative_0_15_1_0;
# Allow transformers-compat >= 0.7
optparse-applicative = doJailbreak self.optparse-applicative_0_15_1_0;
}));
}