Fix steam on NixOS

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2021-09-14 21:56:43 +02:00
parent 1f1b61004a
commit ddd40d7e27
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -158,7 +158,16 @@ inputs: {
}; };
environment.systemPackages = environment.systemPackages =
[ (with pkgs;
[ (steam.override
{ extraPkgs = pkgs: with pkgs; [ pango harfbuzz libthai ];
extraLibraries = pkgs: with config.hardware.opengl;
if pkgs.hostPlatform.is64bit
then [ package ] ++ extraPackages
else [ package32 ] ++ extraPackages32;
})
])
++ [
(pkgs.rr.overrideAttrs (o: { src = pkgs.fetchFromGitHub { owner = "rr-debugger"; repo = "rr"; rev = "refs/heads/master"; sha256 = "sha256-q0PQxWuyAUVM4uEPzKhpMjvXWt0JfjdzCInNQfNItl8="; };} )) (pkgs.rr.overrideAttrs (o: { src = pkgs.fetchFromGitHub { owner = "rr-debugger"; repo = "rr"; rev = "refs/heads/master"; sha256 = "sha256-q0PQxWuyAUVM4uEPzKhpMjvXWt0JfjdzCInNQfNItl8="; };} ))
(pkgs.util-linux.overrideAttrs (o: { (pkgs.util-linux.overrideAttrs (o: {
dontStrip = true; dontStrip = true;