steam: fix proton not working by switching to unstable branch

This commit is contained in:
Leonardo Eugênio 2023-02-23 11:47:31 -03:00
parent 5f92f94eba
commit cdd8a1d65d
2 changed files with 7 additions and 5 deletions

View file

@ -17,7 +17,9 @@
sway = (import ./sway.nix);
unstable = (final: prev: {
unstable = inputs.nixpkgs-unstable.legacyPackages.${prev.system};
unstable = import inputs.nixpkgs-unstable {
inherit (prev) system config;
};
});
sixel-patches = (import ./sixel-patches.nix (inputs));
@ -61,7 +63,7 @@
patches = old.patches
++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ];
});
steam = prev.steam.override {
steam = prev.unstable.steam.override {
extraPkgs = pkgs: with pkgs; [ capitaine-cursors bibata-cursors ];
};