haskell-rfc5051: run this build in LANG=en_US.UTF-8 environment
Otherwise, Haddock cannot generate the reference documentation.
This commit is contained in:
parent
10e74cdee3
commit
f2a9f9b588
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ cabal }:
|
{ cabal, glibcLocales }:
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "rfc5051";
|
pname = "rfc5051";
|
||||||
|
@ -6,6 +6,8 @@ cabal.mkDerivation (self: {
|
||||||
sha256 = "0j009h78gw92bl61g0js6xkah76lb6gm0lv55z2sw6gxm4a1ygml";
|
sha256 = "0j009h78gw92bl61g0js6xkah76lb6gm0lv55z2sw6gxm4a1ygml";
|
||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
|
preConfigure = "export LANG=en_US.UTF-8"
|
||||||
|
+ self.stdenv.lib.optionalString self.stdenv.isLinux " LOCALE_ARCHIVE=${glibcLocales}/lib/locale/locale-archive";
|
||||||
meta = {
|
meta = {
|
||||||
description = "Simple unicode collation as per RFC5051";
|
description = "Simple unicode collation as per RFC5051";
|
||||||
license = self.stdenv.lib.licenses.bsd3;
|
license = self.stdenv.lib.licenses.bsd3;
|
||||||
|
|
Loading…
Reference in a new issue