glslang: add throwing aliases for removed passthru packages
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
python3,
|
||||
spirv-headers,
|
||||
spirv-tools,
|
||||
config,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "glslang";
|
||||
@@ -45,6 +46,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
ln -s $bin/bin/glslang $bin/bin/glslangValidator
|
||||
'';
|
||||
|
||||
passthru = lib.optionalAttrs config.allowAliases {
|
||||
# Added 2026-01-06, https://github.com/NixOS/nixpkgs/pull/477412
|
||||
spirv-tools = throw "'glslang' no longer pins to specific 'spirv-tools'";
|
||||
|
||||
# Added 2026-01-06, https://github.com/NixOS/nixpkgs/pull/477412
|
||||
spirv-headers = throw "'glslang' no longer pins to specific 'spirv-headers'";
|
||||
};
|
||||
|
||||
meta = {
|
||||
inherit (finalAttrs.src.meta) homepage;
|
||||
description = "Khronos reference front-end for GLSL and ESSL";
|
||||
|
||||
Reference in New Issue
Block a user