We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bfb998 commit 4f233e0Copy full SHA for 4f233e0
postgres/src/helpers.rs
@@ -24,6 +24,8 @@ pub fn setup() -> Result<String, Error> {
24
25
let pg_data_dir = dag().get_env("PGDATA")?;
26
let pg_port = dag().get_env("PGPORT")?;
27
+ let lc_all = dag().get_env("LC_ALL")?;
28
+ let lc_ctype = dag().get_env("LC_CTYPE")?;
29
30
if pg_port.is_empty() {
31
dag().set_envs(vec![("PGPORT".into(), "5432".into())])?;
@@ -33,6 +35,14 @@ pub fn setup() -> Result<String, Error> {
33
35
dag().set_envs(vec![("PGDATA".into(), "pg_data".into())])?;
34
36
}
37
38
+ if lc_all.is_empty() {
39
+ dag().set_envs(vec![("LC_ALL".into(), "en_US.UTF-8".into())])?;
40
+ }
41
+
42
+ if lc_ctype.is_empty() {
43
+ dag().set_envs(vec![("LC_CTYPE".into(), "en_US.UTF-8".into())])?;
44
45
46
let stdout = dag()
47
.flox()?
48
.with_workdir(".fluentci")?
0 commit comments