mattwparas / steel

An embedded scheme interpreter in Rust
Apache License 2.0
1.12k stars 50 forks source link

Modern metadata for Nix #228

Closed bddvlpr closed 3 months ago

bddvlpr commented 3 months ago

Currently, in order to detect a binary or entry point to a program in Nix, you can use lib.getExe which requires the meta.mainProgram variable to be set. If not, you can fallback to lib.getExe'. Using this function allows you to set the mainProgram yourself which I'm not a fan of as it could result in it being changed over time. Also added other metadata that packages usually have to be complete :)

mattwparas commented 3 months ago

Thanks!