Commit 987f49ff075d

Vincent Demeester <vincent@sbr.pm>
2025-05-26 00:47:53
systems: fix rpi4 builds…
- Fix the locales definition - Do not forget to pass "system" for aix Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 82fa719
Changed files (2)
systems
common
systems/common/base/locale.nix
@@ -2,17 +2,17 @@ _: {
   time.timeZone = "Europe/Paris";
 
   i18n = {
-    defaultLocale = "en_GB.utf8";
+    defaultLocale = "en_GB.UTF-8";
     extraLocaleSettings = {
-      LC_ADDRESS = "en_GB.utf8";
-      LC_IDENTIFICATION = "en_GB.utf8";
-      LC_MEASUREMENT = "en_GB.utf8";
-      LC_MONETARY = "en_GB.utf8";
-      LC_NAME = "en_GB.utf8";
-      LC_NUMERIC = "en_GB.utf8";
-      LC_PAPER = "en_GB.utf8";
-      LC_TELEPHONE = "en_GB.utf8";
-      LC_TIME = "en_GB.utf8";
+      LC_ADDRESS = "en_GB.UTF-8";
+      LC_IDENTIFICATION = "en_GB.UTF-8";
+      LC_MEASUREMENT = "en_GB.UTF-8";
+      LC_MONETARY = "en_GB.UTF-8";
+      LC_NAME = "en_GB.UTF-8";
+      LC_NUMERIC = "en_GB.UTF-8";
+      LC_PAPER = "en_GB.UTF-8";
+      LC_TELEPHONE = "en_GB.UTF-8";
+      LC_TIME = "en_GB.UTF-8";
     };
   };
 }
flake.nix
@@ -108,6 +108,7 @@
         };
         aix = libx.mkHost {
           hostname = "aix";
+          system = "aarch64-linux";
           hardwareType = "rpi4";
           pkgsInput = inputs.nixpkgs-25_05;
           homeInput = inputs.home-manager-25_05;