9 vulkan-utility-libraries,
17 stdenv.mkDerivation rec {
18 pname = "vulkan-extension-layer";
19 version = "1.3.296.0";
21 src = fetchFromGitHub {
22 owner = "KhronosGroup";
23 repo = "Vulkan-ExtensionLayer";
24 rev = "vulkan-sdk-${version}";
25 hash = "sha256-pBpHYxJq36FrHsvpaMJvX0IKTvAh0R86qR7/vn6EBCw=";
36 vulkan-utility-libraries
43 # Help vulkan-loader find the validation layers
44 setupHook = writeText "setup-hook" ''
45 addToSearchPath XDG_DATA_DIRS @out@/share
48 # Tests are not for gpu-less and headless environments
53 # Include absolute paths to layer libraries in their associated
54 # layer definition json files.
56 for f in "$out"/share/vulkan/explicit_layer.d/*.json "$out"/share/vulkan/implicit_layer.d/*.json; do
57 jq <"$f" >tmp.json ".layer.library_path = \"$out/lib/\" + .layer.library_path"
63 description = "Layers providing Vulkan features when native support is unavailable";
64 homepage = "https://github.com/KhronosGroup/Vulkan-ExtensionLayer/";
65 platforms = platforms.linux;
66 license = licenses.asl20;