mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
25 lines
520 B
Bash
Executable File
25 lines
520 B
Bash
Executable File
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p nix-update
|
|
|
|
set -euf -o pipefail
|
|
|
|
SDK_PACKAGES=(
|
|
"vulkan-headers"
|
|
"vulkan-loader"
|
|
"vulkan-validation-layers"
|
|
"vulkan-tools"
|
|
"vulkan-tools-lunarg"
|
|
"vulkan-extension-layer"
|
|
"vulkan-utility-libraries"
|
|
"vulkan-volk"
|
|
"spirv-headers"
|
|
"spirv-cross"
|
|
"spirv-tools"
|
|
)
|
|
|
|
nix-update glslang --version-regex '(\d+\.\d+\.\d+)' --commit
|
|
|
|
for P in "${SDK_PACKAGES[@]}"; do
|
|
nix-update "$P" --version-regex "(?:vulkan-sdk-)(.*)" --commit
|
|
done
|