f2a9f9b588
Otherwise, Haddock cannot generate the reference documentation.
17 lines
546 B
Nix
17 lines
546 B
Nix
{ cabal, glibcLocales }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "rfc5051";
|
|
version = "0.1.0.2";
|
|
sha256 = "0j009h78gw92bl61g0js6xkah76lb6gm0lv55z2sw6gxm4a1ygml";
|
|
isLibrary = 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 = {
|
|
description = "Simple unicode collation as per RFC5051";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|