juspay / nix-health

REPO MOVED https://github.com/juspay/omnix/tree/main/crates/nix_health
https://github.com/juspay/omnix/tree/main/crates/nix_rs
29 stars 2 forks source link

feat: Build linux static executable #23

Closed shivaraj-bh closed 3 months ago

shivaraj-bh commented 3 months ago

Verify if the executable is statically linked:

ldd $(nix build github:shivaraj-bh/nix-health/static-linux --print-out-paths)/bin/nix-health

TODO

shivaraj-bh commented 3 months ago

Checks seem to fail due to docs. This was fixed in https://github.com/ipetkov/crane/pull/603

shivaraj-bh commented 3 months ago

https://github.com/juspay/rust-flake/pull/8 should fix the cargo docs

shivaraj-bh commented 3 months ago

LGTM, once the flake inputs are updated.

Done