Skip to content

Compile bug: .devops/nix/package.nix still references ./ggml/src/ggml-metal/ggml-metal.mΒ #16096

@bowmanjd

Description

@bowmanjd

Git commit

0320ac5

Operating systems

Linux

GGML backends

Metal

Problem description & steps to reproduce

Building with the nix flake is broken since 0320ac5264279d74f8ee91bafa6c90e9ab9bbb91 because that commit removed ./ggml/src/ggml-metal/ggml-metal.m yet .devops/nix/package.nix still attempts to do a replace on that file.

First Bad Commit

0320ac5

Compile command

`nix run github:ggml-org/llama.cpp#llama-server -- -h`

Relevant log output

error: builder for '/nix/store/3922zipp917qmhn5x3lazx5hx44b59hh-llama-cpp-blas-0.0.0.drv' failed with exit code 1;
       last 5 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/jds04mid8cyzfnpxy4asw3ql28qnrxiv-source
       > source root is source
       > Running phase: patchPhase
       > substitute(): ERROR: file './ggml/src/ggml-metal/ggml-metal.m' does not exist

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions