Julia Evans on Nostr: someone in the replies gave the analogy that nix flakes are like docker containers ...
someone in the replies gave the analogy that nix flakes are like docker containers (and they use a lot of disk space for the same reasons that docker containers do: they pin versions of all their deps) but with the advantage that:
* they run natively (no VM on mac)
* different flakes can share dependencies sometimes
* there’s a lot more structure
the comparison to containers makes it SO much clearer to me
Published at
2023-11-12 16:05:00Event JSON
{
"id": "e97b5d931b87b3407a44808d2ade14695551c5f110a8253c4efafb8d3ec4918c",
"pubkey": "26cad6f140bf86de9c26b7c15419cab1aebdd7086358d26aa2d750e21cf3bf2e",
"created_at": 1699805100,
"kind": 1,
"tags": [
[
"e",
"d6e0100663112237aa130de56b5d55b9ea76c85bad937b8df264498f6cc07602",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://social.jvns.ca/users/b0rk/statuses/111398427070256713",
"activitypub"
]
],
"content": "someone in the replies gave the analogy that nix flakes are like docker containers (and they use a lot of disk space for the same reasons that docker containers do: they pin versions of all their deps) but with the advantage that:\n\n* they run natively (no VM on mac)\n* different flakes can share dependencies sometimes\n* there’s a lot more structure\n\nthe comparison to containers makes it SO much clearer to me",
"sig": "af48add70ef5382ebc3c63ebc4173d928ebba213c14bb21ff66b2fc4c61571ac4337ec04fe082e8a1d0f158584b5dff8845c93a43e929d62cbe5ccd22e96e037"
}