Skip to content

[BUILD ERROR]: v1.32.1 flake patches removed vpux_elf.cmake #135

@salty-flower

Description

@salty-flower

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions