about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-04 21:55:36 +0900
committersefidel <contact@sefidel.net>2024-02-04 21:57:15 +0900
commit29f85f03caa245968d2a7aea447101e7a0d9481b (patch)
treed5fe10c0a780a327475257e364f7d6ae2b7a4dcd /nixos
parent7e67e2cfe698ff8a1bb6638d69e33a689377c04a (diff)
downloadnixrc-29f85f03caa245968d2a7aea447101e7a0d9481b.tar.gz
nixrc-29f85f03caa245968d2a7aea447101e7a0d9481b.zip
fix(nixos/kanata): fix invidious mojibake
* This commit overrides crystal to 1.11, which contains fixes for
  crystal-lang/crystal#13703.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/nixos/default.nix b/nixos/default.nix
index 8fc1ba7..9e368db 100644
--- a/nixos/default.nix
+++ b/nixos/default.nix
@@ -1,4 +1,4 @@
-{ self, unstable, ... } @ inputs:
+{ self, unstable, nixpkgs-crystal, ... } @ inputs:
 
 {
   alpha = self.lib.mkSystem {
@@ -26,5 +26,11 @@
       inputs.sops-nix.nixosModules.sops
       inputs.impermanence.nixosModules.impermanence
     ];
+    overlays = [
+      (final: prev: {
+        inherit (nixpkgs-crystal.legacyPackages.x86_64-linux)
+          crystal invidious;
+      })
+    ];
   };
 }