uiua-lang / uiua

A stack-based array programming language
https://www.uiua.org
MIT License
1.53k stars 108 forks source link

fix nix build #541

Closed BaerLKR closed 2 weeks ago

BaerLKR commented 2 weeks ago

the nix build failed due to 2 reasons

  1. the image files were not included
  2. the libffi dependeny has a libffi-sys dependency that tries to compile a system lib (fails on nix)

i resolved that by adding a filter to the input cleaner of the crane rust build tool and adding the "system" feature to libffi when built with nix. Like that nothing changes for non-nix users but when using with nix libffi-sys gets pulled from nixpkgs Hope this is useful