aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorpacien2023-02-16 22:54:42 +0100
committerpacien2023-02-16 22:54:42 +0100
commitd266ee66cf3e366fbeb6d92c03dedff3b7aa3f14 (patch)
tree62fdc955672f114f1cb240925e63d9d049a9e6fe /flake.nix
parent1215c5240786d3c64ef1dec5cf8e4b6ad2ec1b01 (diff)
downloadldgallery-d266ee66cf3e366fbeb6d92c03dedff3b7aa3f14.tar.gz
Revert "compiler: fix support for non-utf8 terminals"
The reverted changeset fixed some crash due to character encoding mismatch in terminal emulators. Doing so, it made it possible for the compiler to complete without reporting any error, while outputting wrongly encoded files. It's better to revert that changeset until all the encoding issue are solved consistently. This reverts commit 0fddc74a3f9add47841124b4d77b097f4646d14f.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index b0c9586..714e26d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -137,6 +137,8 @@
137 src = ./example; 137 src = ./example;
138 nativeBuildInputs = [ ldgallery ]; 138 nativeBuildInputs = [ ldgallery ];
139 buildPhase = '' 139 buildPhase = ''
140 # Need UTF-8: https://github.com/ldgallery/ldgallery/issues/341
141 export LC_ALL=C.UTF-8
140 ldgallery --input-dir src --output-dir $out --with-viewer 142 ldgallery --input-dir src --output-dir $out --with-viewer
141 ''; 143 '';
142 installPhase = ":"; 144 installPhase = ":";