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

@ -435,11 +435,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1676569297,
"narHash": "sha256-2n4C4H3/U+3YbDrQB6xIw7AaLdFISCCFwOkcETAigqU=",
"lastModified": 1676973346,
"narHash": "sha256-rft8oGMocTAhUVqG3LW6I8K/Fo9ICGmNjRqaWTJwav0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ac1f5b72a9e95873d1de0233fddcb56f99884b37",
"rev": "d0d55259081f0b97c828f38559cad899d351cad1",
"type": "github"
},
"original": {

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 ];
};