Skip to content

Commit 633782b

Browse files
dokterbobphiliptaron
authored andcommitted
nix: now that we can do so, allow MacOS to build Vulkan binaries
Author: Philip Taron <[email protected]> Date: Tue Feb 13 20:28:02 2024 +0000
1 parent 22f83f0 commit 633782b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,14 +150,14 @@
150150
packages =
151151
{
152152
default = config.legacyPackages.llamaPackages.llama-cpp;
153+
vulkan = config.packages.default.override { useVulkan = true; };
153154
}
154155
// lib.optionalAttrs pkgs.stdenv.isLinux {
155156
opencl = config.packages.default.override { useOpenCL = true; };
156157
cuda = config.legacyPackages.llamaPackagesCuda.llama-cpp;
157158

158159
mpi-cpu = config.packages.default.override { useMpi = true; };
159160
mpi-cuda = config.packages.default.override { useMpi = true; };
160-
vulkan = config.packages.default.override { useVulkan = true; };
161161
}
162162
// lib.optionalAttrs (system == "x86_64-linux") {
163163
rocm = config.legacyPackages.llamaPackagesRocm.llama-cpp;

0 commit comments

Comments
 (0)