Shane Sveller on Nostr: npub16mtxp…dpnwy there's a CLI flag on the nix binary, "cache-ttl" or something ...
npub16mtxp68k8c3p2sj0wzhagt3kd8ywkvzlkfyt3vrx9cahzfz000vs8dpnwy (npub16mt…pnwy) there's a CLI flag on the nix binary, "cache-ttl" or something like that, that will make flake caches invalidate on your chosen timeline for the current command (which can be 0 seconds to force fetching). I would encourage you to work with flake inputs and lock files where possible, though.
You can also use NixOS 'nix.registry' to add your commonly used flake inputs to the local flake registry which makes their content an automatic gcroot and inhibits their garbage collection.
Published at
2023-11-23 13:25:19Event JSON
{
"id": "5792153806489e2a4f50e89c81640769e340b8b9ff759a333860745412c10b4a",
"pubkey": "430a8bf5ccb0c426d928f06ec35f5da6019a516afc22f4e7b238ee6cc7f22c4b",
"created_at": 1700745919,
"kind": 1,
"tags": [
[
"p",
"d6d660e8f63e2215424f70afd42e3669c8eb305fb248b8b0662e3b71244f7bd9",
"wss://relay.mostr.pub"
],
[
"p",
"0abc897a05eca0849f658dc45fb983e46041d357150b09df857131e7a7552848",
"wss://relay.mostr.pub"
],
[
"e",
"0172b5da83abb44628f319461954f97d2afc909871a7af10c97b01a637b1def3",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://hachyderm.io/users/shane/statuses/111460084591428925",
"activitypub"
]
],
"content": "nostr:npub16mtxp68k8c3p2sj0wzhagt3kd8ywkvzlkfyt3vrx9cahzfz000vs8dpnwy there's a CLI flag on the nix binary, \"cache-ttl\" or something like that, that will make flake caches invalidate on your chosen timeline for the current command (which can be 0 seconds to force fetching). I would encourage you to work with flake inputs and lock files where possible, though.\n\nYou can also use NixOS 'nix.registry' to add your commonly used flake inputs to the local flake registry which makes their content an automatic gcroot and inhibits their garbage collection.",
"sig": "efe2a36a1eeb809848e1fd9f93226d58d05c31567af051d5ca435f4d268031d2c627564d0062849bb3e94552f175e95409c5ef12096c852d969d15f2e1672711"
}