Skip to content

Conversation

amozeo
Copy link
Contributor

@amozeo amozeo commented Jul 16, 2025

Fixes nix eval of packages.${system}.default with newer nixpkgs revision.

Previously eval failed with:

    error: expected a set but found a list: [ ]

lib.optionals is not for attrsets, lib.optionalAttrs is instead.

@github-actions github-actions bot added nix Issues specific to consuming flake.nix, or generally concerned with ❄ Nix-based llama.cpp deployment devops improvements to build systems and github actions labels Jul 16, 2025
@amozeo amozeo changed the title nix: use overrideAttrs for env mkDerivation attrset argument nix: use optionalAttrs for env mkDerivation attrset argument Jul 16, 2025
@langsjo
Copy link

langsjo commented Jul 17, 2025

@philiptaron

@philiptaron philiptaron merged commit 760b448 into ggml-org:master Jul 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops improvements to build systems and github actions nix Issues specific to consuming flake.nix, or generally concerned with ❄ Nix-based llama.cpp deployment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants