Event JSON
{
"id": "0c7bba75523d4936174853dbe77d5363e3a7b0b68341ad6d201fd7f05678b6c7",
"pubkey": "9c69839e039fcfa5ddb1329d4fc576619e3abed651f26ae7bb766fcd7a1bb5c4",
"created_at": 1704211508,
"kind": 1,
"tags": [
[
"p",
"1cc11b6fb75481fcbb688322e7ef90f0a7b9f979e04d85f080773bddbb15def9",
"wss://relay.mostr.pub"
],
[
"p",
"75590f9f0d9739eb48b4ee0041079145916c9c9653c594e2cab110624c6b6387",
"wss://relay.mostr.pub"
],
[
"e",
"7646d3bad5e45b0a6e40f3812118b5dc86ddb892ab49501a64fa46d80b0bb2c8",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"nix"
],
[
"t",
"flakes"
],
[
"content-warning",
"NixOS, Rust, cross-compilation"
],
[
"proxy",
"https://hachyderm.io/users/ivan/statuses/111687205410068850",
"activitypub"
]
],
"content": "nostr:npub1rnq3kmah2jqlewmgsv3w0mus7znmn7teupxctuyqwuaamwc4mmusdx7anc the “trick” to successfully doing cross compilation with #Nix #flakes is to make sure you utilize `callPackage` (which I found surprisingly under documented on how load bearing it is for cross compilation)\n\nYou don’t *have* to use `crane` for your project, but here’s one illustrative example: https://crane.dev/examples/cross-rust-overlay.html",
"sig": "4734a790b7896e1604f89b0fc4ac9c5e2692e02da272f0f054040c7e4ddd66d76a8164af16fc69100df359c396e17a8197c2dd5b9b39df7a49607bb68b4d3719"
}