summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-08-28 17:39:11 +0300
committerVika <vika@fireburn.ru>2024-08-28 17:39:11 +0300
commit3ca8e690ed58f4267cc4ec132551d24a9a557e85 (patch)
treefb350d8ce10ba62e30cfaeff8d95c2daad61fa92 /flake.nix
parent46dad112791ae0607a98788ddae322eb25d02c93 (diff)
downloadbowl-3ca8e690ed58f4267cc4ec132551d24a9a557e85.tar.zst
Bring in gettext and related tools
xtr is better at extracting translatables from Rust than xgettext is.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index dc30db3..24a1f94 100644
--- a/flake.nix
+++ b/flake.nix
@@ -32,6 +32,8 @@
     packages = {
       bowl = bowl;
       default = self.packages.${system}.bowl;
+      # Needed for translations
+      xtr = pkgs.callPackage ./pkgs/xtr {};
     };
 
     checks = {
@@ -55,6 +57,7 @@
       # Extra inputs can be added here; cargo and rustc are provided by default.
       packages = [
         pkgs.rust-analyzer
+        self.packages.${system}.xtr
       ];
     };
   });