tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
mangohud: support 32bit mango app vulkan layer
Kira Bruneau
2 years ago
69ac4b60
62bad427
+6
-1
1 changed file
expand all
collapse all
unified
split
pkgs
tools
graphics
mangohud
default.nix
+6
-1
pkgs/tools/graphics/mangohud/default.nix
···
161
161
xorg.libXrandr
162
162
];
163
163
164
164
-
# Support 32bit Vulkan applications by linking in 32bit Vulkan layer
164
164
+
# Support 32bit Vulkan applications by linking in 32bit Vulkan layers
165
165
# This is needed for the same reason the 32bit OpenGL workaround is needed.
166
166
postInstall = lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") ''
167
167
ln -s ${mangohud32}/share/vulkan/implicit_layer.d/MangoHud.json \
168
168
"$out/share/vulkan/implicit_layer.d/MangoHud.x86.json"
169
169
+
170
170
+
${lib.optionalString gamescopeSupport ''
171
171
+
ln -s ${mangohud32}/share/vulkan/implicit_layer.d/libMangoApp.json \
172
172
+
"$out/share/vulkan/implicit_layer.d/libMangoApp.x86.json"
173
173
+
''}
169
174
'';
170
175
171
176
postFixup = ''