Put a time-to-live on negative binary cache lookups
Put a time-to-live on negative binary cache lookups

Negative lookups are purged from the DB after a day, at most once per
day.  However, for non-"have" lookups (e.g. all except "nix-env
-qas"), negative lookups are ignored after one hour.  This is to
ensure that you don't have to wait a day for an operation like
"nix-env -i" to start using new binaries in the cache.

Should probably make this configurable.

dezgeg/nix,wmertens/nix,peti/nix,bennofs/nix,ttuegel/nix,shlevy/nix,ttuegel/nix,wmertens/nix,gebner/nix,bennofs/nix,vizanto/nix,bjornfor/nix,offlinehacker/nix,acowley/nix,zimbatm/nix,pikajude/nix,peti/nix,joelmo/nix,offlinehacker/nix,acowley/nix,ehmry/nix,gebner/nix,ysangkok/nix,rowhit/nix,jcumming/nix,acowley/nix,layus/nix,aucampia/nix,garbas/nix,jcumming/nix,rowhit/nix,puffnfresh/nix,aucampia/nix,joelmo/nix,tchajed/nix,joelmo/nix,wmertens/nix,shlevy/nix,shlevy/nix,vizanto/nix,ysangkok/nix,ysangkok/nix,dtzWill/nix,bennofs/nix,edolstra/nix,tchajed/nix,NixOS/nix,vcunat/nix,bjornfor/nix,nbp/nix,edolstra/nix,zimbatm/nix,bjornfor/nix,ehmry/nix,zimbatm/nix,rycee/nix,layus/nix,rycee/nix,NixOS/nix,nbp/nix,acowley/nix,puffnfresh/nix,jcumming/nix,puffnfresh/nix,offlinehacker/nix,zimbatm/nix,vizanto/nix,shlevy/nix,dtzWill/nix,dtzWill/nix,gebner/nix,dezgeg/nix,garbas/nix,garbas/nix,peti/nix,layus/nix,rowhit/nix,edolstra/nix,rowhit/nix,ttuegel/nix,dtzWill/nix,ehmry/nix,rycee/nix,dezgeg/nix,joelmo/nix,tchajed/nix,vcunat/nix,shlevy/nix,nbp/nix,NixOS/nix,ehmry/nix,bjornfor/nix,offlinehacker/nix,gridaphobe/nix,layus/nix,garbas/nix,edolstra/nix,jcumming/nix,NixOS/nix,ehmry/nix,NixOS/nix,ehmry/nix,dezgeg/nix,gridaphobe/nix,pikajude/nix,vizanto/nix,vcunat/nix,peti/nix,rycee/nix,garbas/nix,ttuegel/nix,pikajude/nix,aucampia/nix,gridaphobe/nix,bennofs/nix,dtzWill/nix,aucampia/nix,wmertens/nix,tchajed/nix,gridaphobe/nix,peti/nix,dezgeg/nix,edolstra/nix,rycee/nix,nbp/nix,puffnfresh/nix,layus/nix,vcunat/nix,gebner/nix