diff --git a/third_party/nixpkgs/default.nix b/third_party/nixpkgs/default.nix index 635082e27..a260fdef4 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. diff --git a/users/Profpatsch/alacritty.nix b/users/Profpatsch/alacritty.nix index d2cb8de2f..2512de3b0 100644 --- a/users/Profpatsch/alacritty.nix +++ b/users/Profpatsch/alacritty.nix @@ -1,7 +1,7 @@ { depot, pkgs, lib, ... }: let - bins = depot.nix.getBins pkgs.alacritty [ "alacritty" ]; + bins = depot.nix.getBins pkgs.alacritty-stable [ "alacritty" ]; config = depot.users.Profpatsch.importDhall.importDhall {