mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 16:17:34 +00:00
vulkan-validation-layers: fix bug related to XDG_DATA_DIRS (#106085)
This commit is contained in:
parent
d5b842fb77
commit
ed9ddeb142
@ -86,11 +86,6 @@ stdenv.mkDerivation rec {
|
||||
"-DBUILD_LAYER_SUPPORT_FILES=ON"
|
||||
];
|
||||
|
||||
# Help vulkan-loader find the validation layers
|
||||
setupHook = writeText "setup-hook" ''
|
||||
export XDG_DATA_DIRS=@out@/share:$XDG_DATA_DIRS
|
||||
'';
|
||||
|
||||
# Include absolute paths to layer libraries in their associated
|
||||
# layer definition json files.
|
||||
patchPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user