Skip to content

Commit e72cd65

Browse files
fixup! chore(deps): update nixpkgs to unstable 2025-01-11
1 parent 84ac6ca commit e72cd65

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

nix/tools/docs.nix

+9
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ let
3535
workingDir = "/docs";
3636
}
3737
''
38+
# https://github.com/sphinx-doc/sphinx/issues/11739
39+
export LC_ALL=C.UTF-8
40+
3841
function build() {
3942
${python}/bin/sphinx-build --color -W -a -n . -b "$@"
4043
}
@@ -119,6 +122,8 @@ let
119122
workingDir = "/docs";
120123
}
121124
''
125+
export LC_ALL=C.UTF-8
126+
122127
FILES=$(find . -type f -iname '*.rst' | tr '\n' ' ')
123128
124129
# shellcheck disable=SC2086 disable=SC2016
@@ -139,6 +144,8 @@ let
139144
workingDir = "/docs";
140145
}
141146
''
147+
export LC_ALL=C.UTF-8
148+
142149
FILES=$(find . -type f -iname '*.rst' | tr '\n' ' ')
143150
144151
tail -n+2 postgrest.dict \
@@ -157,6 +164,8 @@ let
157164
workingDir = "/docs";
158165
}
159166
''
167+
export LC_ALL=C.UTF-8
168+
160169
${python}/bin/sphinx-build --color -b linkcheck . ../.docs-build
161170
'';
162171

0 commit comments

Comments
 (0)