diff options
author | Vladimír Čunát <v@cunat.cz> | 2023-04-08 11:32:55 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-04-08 11:33:08 +0200 |
commit | fd77cd7a01f558ae47b446fc21e5666e5ded6814 (patch) | |
tree | 1e44aa7c533520b8d8158d554a200e3fa088055d /pkgs/tools/graphics/vulkan-tools | |
parent | 46f29d4bd6305a9f7c743d3f9022a8d5f6d3cb12 (diff) | |
parent | 97ad0928a5cb6512af4f92be062e9b31edc485d4 (diff) |
Merge branch 'master' into staging-next
Indentation conflict in vulkan-related src fetches.
Diffstat (limited to 'pkgs/tools/graphics/vulkan-tools')
-rw-r--r-- | pkgs/tools/graphics/vulkan-tools/default.nix | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/pkgs/tools/graphics/vulkan-tools/default.nix b/pkgs/tools/graphics/vulkan-tools/default.nix index 577e4e320d80b..47a17158653f1 100644 --- a/pkgs/tools/graphics/vulkan-tools/default.nix +++ b/pkgs/tools/graphics/vulkan-tools/default.nix @@ -23,16 +23,12 @@ stdenv.mkDerivation rec { pname = "vulkan-tools"; version = "1.3.243.0"; - # It's not strictly necessary to have matching versions here, however - # since we're using the SDK version we may as well be consistent with - # the rest of nixpkgs. - src = (assert (version) == vulkan-headers.version; - fetchFromGitHub { - owner = "KhronosGroup"; - repo = "Vulkan-Tools"; - rev = "sdk-${version}"; - hash = "sha256-8XJON+iBEPRtuQWf1bPXyOJHRkuRLnLXgTIjk7gYQwE="; - }); + src = fetchFromGitHub { + owner = "KhronosGroup"; + repo = "Vulkan-Tools"; + rev = "sdk-${version}"; + hash = "sha256-8XJON+iBEPRtuQWf1bPXyOJHRkuRLnLXgTIjk7gYQwE="; + }; nativeBuildInputs = [ cmake @@ -107,5 +103,6 @@ stdenv.mkDerivation rec { platforms = platforms.unix; license = licenses.asl20; maintainers = [ maintainers.ralith ]; + broken = (version != vulkan-headers.version); }; } |