about summary refs log tree commit diff
path: root/third_party/nixpkgs
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2022-04-21T09·33+0200
committerProfpatsch <mail@profpatsch.de>2022-04-21T10·19+0000
commitc8ef9fcfa758cabb331e5469d45c155f73242174 (patch)
tree625654c8c852af62618fdb1a643083f42eb4d8e6 /third_party/nixpkgs
parent6716bf018c465f4b943eef0e6716caa7a54940da (diff)
fix(users/Profpatsch/alacritty): use alacritty from stable r/3983
Change-Id: I8a3f22dd752b5cd70518424335de876210e9bcd4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5487
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'third_party/nixpkgs')
-rw-r--r--third_party/nixpkgs/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/third_party/nixpkgs/default.nix b/third_party/nixpkgs/default.nix
index 635082e27be3..a260fdef4f25 100644
--- a/third_party/nixpkgs/default.nix
+++ b/third_party/nixpkgs/default.nix
@@ -24,8 +24,13 @@ let
 
   # Overlay for packages that should come from the stable channel
   # instead (e.g. because something is broken in unstable).
-  stableOverlay = self: super: {
-    # Nothing picked from stable presently.
+  # Use `stableNixpkgs` from above.
+  stableOverlay = _unstableSelf: _unstableSuper: {
+
+    # alacritty on unstable fails because it can’t find the libGLX.
+    # This is too hard to debug right now, let’s hope somebody else solves it for us.
+    alacritty-stable = stableNixpkgs.alacritty;
+
   };
 
   # Overlay to expose the nixpkgs commits we are using to other Nix code.