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"
|
"-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
|
# Include absolute paths to layer libraries in their associated
|
||||||
# layer definition json files.
|
# layer definition json files.
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user