fufexan/nix-gaming

vkd3d and dxvk broken

Opened this issue · 2 comments

dxvk and vkd3d both need fetchSubmodules = true, and can't fetch source as a tar like the current npins setup requires
dxvk needs the dxvk-async version to match or to remove that patch
vkd3d on newer nixpkgs needs a version that contains HansKristian-Work/vkd3d-proton#1470

Happen here:

error: builder for '/nix/store/ij20xf5bf30jpd0cab882r46m0f4i17k-dxvk.drv' failed with exit code 1;
       last 10 log lines:
       > 1 out of 2 hunks FAILED -- saving rejects to file src/dxvk/dxvk_graphics.cpp.rej
       > patching file src/dxvk/dxvk_graphics.h
       > Hunk #1 succeeded at 522 (offset 1 line).
       > Hunk #2 succeeded at 579 (offset 1 line).
       > patching file src/dxvk/dxvk_image.h
       > Hunk #1 succeeded at 549 (offset 2 lines).
       > Hunk #2 succeeded at 588 (offset 2 lines).
       > patching file src/dxvk/dxvk_options.cpp
       > Hunk #1 succeeded at 11 with fuzz 2 (offset 1 line).
       > patching file src/dxvk/dxvk_options.h
       For full logs, run 'nix log /nix/store/ij20xf5bf30jpd0cab882r46m0f4i17k-dxvk.drv'.

and this for vk3d

error: builder for '/nix/store/nd04ywk22j7y991cx805k4if6is9ldk1-vkd3d-proton-v2.9.drv' failed with exit code 1;
       last 10 log lines:
       > # In parent project
       > some_dep = dependency('some')
       > executable(..., dependencies: [some_dep])
       >
       > This warning will become a hard error in a future Meson release.
       >
       >
       > meson.build:61:26: ERROR: Include dir ./subprojects/Vulkan-Headers/include does not exist.
       >
       > A full log can be found at /build/source/build/meson-logs/meson-log.txt
       For full logs, run 'nix log /nix/store/nd04ywk22j7y991cx805k4if6is9ldk1-vkd3d-proton-v2.9.drv'.