1#!/usr/bin/env nix-shell
2#!nix-shell -i bash -p nix-update
3
4set -euf -o pipefail
5
6SDK_PACKAGES=(
7 "vulkan-headers"
8 "vulkan-loader"
9 "vulkan-validation-layers"
10 "vulkan-tools"
11 "vulkan-tools-lunarg"
12 "vulkan-extension-layer"
13 "vulkan-utility-libraries"
14 "vulkan-volk"
15 "spirv-headers"
16 "spirv-cross"
17 "spirv-tools"
18)
19
20nix-update glslang --version-regex '(\d+\.\d+\.\d+)' --commit
21
22for P in "${SDK_PACKAGES[@]}"; do
23 nix-update "$P" --version-regex "(?:vulkan-sdk-)(.*)" --commit
24done