mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 01:56:13 +01:00
Fix steam on NixOS
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
1f1b61004a
commit
ddd40d7e27
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue