From 5c7843fd17d45b210a68cee744f19a9fd8ab05a0 Mon Sep 17 00:00:00 2001 From: lucasew Date: Thu, 26 Dec 2024 00:26:21 -0300 Subject: [PATCH] vulkan-memory-allocator: use tag in src, do not reference src Signed-off-by: lucasew --- pkgs/by-name/vu/vulkan-memory-allocator/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/vu/vulkan-memory-allocator/package.nix b/pkgs/by-name/vu/vulkan-memory-allocator/package.nix index a4205b5db8344..b2446d86ded36 100644 --- a/pkgs/by-name/vu/vulkan-memory-allocator/package.nix +++ b/pkgs/by-name/vu/vulkan-memory-allocator/package.nix @@ -13,7 +13,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { src = fetchFromGitHub { owner = "GPUOpen-LibrariesAndSDKs"; repo = "VulkanMemoryAllocator"; - rev = "v${finalAttrs.version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-j0Z9OEwQx3RB2cni9eK3gYfwkhOc2ST213b6VseaVzg="; }; @@ -42,7 +42,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { meta = { description = "Easy to integrate Vulkan memory allocation library"; homepage = "https://gpuopen.com/vulkan-memory-allocator/"; - changelog = "https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/blob/${finalAttrs.src.rev}/CHANGELOG.md"; + changelog = "https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fgaz ]; mainProgram = "vulkan-memory-allocator";