Summary
The official Nix flake for v1.32.1 fails during patchPhase because it still patches the old third_party/cmake/vpux_elf.cmake path, but the release source tree now uses third_party/cmake/npu_compiler_elf.cmake and third_party/npu_compiler_elf.
Reproduction
nix build github:intel/linux-npu-driver/v1.32.1 --print-build-logs
Actual result
intel-npu-driver> Running phase: patchPhase
intel-npu-driver> substitute(): ERROR: file `third_party/cmake/vpux_elf.cmake` does not exist
error: Cannot build `/nix/store/...-intel-npu-driver.drv`.
Reason: builder failed with exit code 1.
Expected result
The flake should build the v1.32.1 driver package, or patch the current npu_compiler_elf CMake path instead of the removed vpux_elf path.
Notes
The v1.32.1 release PR changed compiler/submodule-related paths, but flake.nix does not appear to have been updated in the same PR:
The repository tree at v1.32.1 contains:
third_party/cmake/npu_compiler_elf.cmake
third_party/npu_compiler_elf
and not third_party/cmake/vpux_elf.cmake.
Environment
- OS: NixOS x86_64-linux
- Kernel: 6.18.28
- Nix: 2.34.7
- Flake ref:
github:intel/linux-npu-driver/v1.32.1
Summary
The official Nix flake for
v1.32.1fails duringpatchPhasebecause it still patches the oldthird_party/cmake/vpux_elf.cmakepath, but the release source tree now usesthird_party/cmake/npu_compiler_elf.cmakeandthird_party/npu_compiler_elf.Reproduction
Actual result
Expected result
The flake should build the
v1.32.1driver package, or patch the currentnpu_compiler_elfCMake path instead of the removedvpux_elfpath.Notes
The
v1.32.1release PR changed compiler/submodule-related paths, butflake.nixdoes not appear to have been updated in the same PR:third_party/cmake/vpux_elf.cmakeThe repository tree at
v1.32.1contains:and not
third_party/cmake/vpux_elf.cmake.Environment
github:intel/linux-npu-driver/v1.32.1