Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11-beta 23 lines 502 B view raw
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 "spirv-headers" 15 "spirv-cross" 16 "spirv-tools" 17) 18 19nix-update glslang --version-regex '(\d+\.\d+\.\d+)' --commit 20 21for P in "${SDK_PACKAGES[@]}"; do 22 nix-update "$P" --version-regex "(?:vulkan-sdk-)(.*)" --commit 23done