NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.28k stars 14.27k forks source link

Package request: cl-raylib #335673

Open HaskellHegemonie opened 3 months ago

HaskellHegemonie commented 3 months ago

Project description

Common Lisp binding of raylib

Not available in Quicklisp Metadata

Add a :+1: reaction to issues you find important.

HaskellHegemonie commented 3 months ago

This is what I have so far: https://github.com/HaskellHegemonie/nixpkgs/commit/11a8c60d19ae08ccdfe6829cf91a5585f3620119 but it fails with

BUILD FAILED: Unable to load foreign library (LIBRAYLIB).
Error opening shared object "libraylib.so": libraylib.so: cannot open shared object file: No such file or directory.

Also a Lisp label would be nice

nagy commented 3 months ago

I have packages this over at my NUR repository: https://github.com/nagy/nur-packages/blob/master/pkgs/cl-raylib/default.nix

Also, I have requested it to be added to quicklisp here:

I would argue, that we should just wait until it gets added and then wait for a quicklisp update.

HaskellHegemonie commented 3 months ago

Missed only the nativeLibs🙃. Your solution seems to work as intended -> I don't see a reason why we should hold it back from nixpkgs. Especially because your issue didn't seem to get much attention over the last 3 years; but I'm fine with waiting another x months and using your solution as a hotfix for now