mirror of
https://github.com/nmattia/snack.git
synced 2024-11-28 12:27:41 +03:00
Enable utf-8 when parsing dependencies
This commit is contained in:
parent
abd187035c
commit
bbef676f09
@ -2,6 +2,7 @@
|
||||
{ lib
|
||||
, callPackage
|
||||
, runCommand
|
||||
, glibcLocales
|
||||
, haskellPackages
|
||||
}:
|
||||
|
||||
@ -58,7 +59,10 @@ rec {
|
||||
} "ghc -package ghc ${./Imports.hs} -o $out" ;
|
||||
# XXX: this command needs ghc in the environment so that it can call "ghc
|
||||
# --print-libdir"...
|
||||
in runCommand "dependencies-json" { buildInputs = [ ghc ]; }
|
||||
in runCommand "dependencies-json"
|
||||
{ buildInputs = [ ghc glibcLocales ];
|
||||
LANG="en_US.utf-8";
|
||||
}
|
||||
|
||||
''
|
||||
${importParser} ${singleOutModulePath base modName} > $out
|
||||
|
Loading…
Reference in New Issue
Block a user