flake.nix: pass most darwin frameworks unconditionally

...for simplicity
This commit is contained in:
Someone Serge 2023-12-24 19:36:30 +00:00 committed by Philip Taron
parent d73272f18b
commit fea0239e24

View file

@ -77,12 +77,12 @@ let
# separately # separately
darwinBuildInputs = darwinBuildInputs =
with darwin.apple_sdk.frameworks; with darwin.apple_sdk.frameworks;
[ Accelerate ] [
++ optionals useMetalKit [ MetalKit ] Accelerate
++ optionals (!useMetalKit) [
CoreVideo CoreVideo
CoreGraphics CoreGraphics
]; ]
++ optionals useMetalKit [ MetalKit ];
cudaBuildInputs = with cudaPackages; [ cudaBuildInputs = with cudaPackages; [
cuda_cccl.dev # <nv/target> cuda_cccl.dev # <nv/target>