{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/2996","labels_url":"https://api.github.com/repos/haskell/cabal/issues/2996/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/2996/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/2996/events","html_url":"https://github.com/haskell/cabal/issues/2996","id":123860827,"number":2996,"title":"\"Freeze\" the state of the package DB?","user":{"login":"edsko","id":935288,"avatar_url":"https://avatars.githubusercontent.com/u/935288?v=3","gravatar_id":"","url":"https://api.github.com/users/edsko","html_url":"https://github.com/edsko","followers_url":"https://api.github.com/users/edsko/followers","following_url":"https://api.github.com/users/edsko/following{/other_user}","gists_url":"https://api.github.com/users/edsko/gists{/gist_id}","starred_url":"https://api.github.com/users/edsko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edsko/subscriptions","organizations_url":"https://api.github.com/users/edsko/orgs","repos_url":"https://api.github.com/users/edsko/repos","events_url":"https://api.github.com/users/edsko/events{/privacy}","received_events_url":"https://api.github.com/users/edsko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/haskell/cabal/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/haskell/cabal/labels/nix-local-build","name":"nix-local-build","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-25T07:25:32Z","updated_at":"2015-12-25T09:37:02Z","closed_at":null,"body":"It's somewhat annoying when using cabal-nix that whenever I call `cabal update`, a subsequent `cabal-nix` might start installing a bunch of new packages. (Somewhat related to @hvr 's way-back feature.)"},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/167214915","html_url":"https://github.com/haskell/cabal/issues/2996#issuecomment-167214915","issue_url":"https://api.github.com/repos/haskell/cabal/issues/2996","id":167214915,"user":{"login":"hvr","id":285533,"avatar_url":"https://avatars.githubusercontent.com/u/285533?v=3","gravatar_id":"","url":"https://api.github.com/users/hvr","html_url":"https://github.com/hvr","followers_url":"https://api.github.com/users/hvr/followers","following_url":"https://api.github.com/users/hvr/following{/other_user}","gists_url":"https://api.github.com/users/hvr/gists{/gist_id}","starred_url":"https://api.github.com/users/hvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvr/subscriptions","organizations_url":"https://api.github.com/users/hvr/orgs","repos_url":"https://api.github.com/users/hvr/repos","events_url":"https://api.github.com/users/hvr/events{/privacy}","received_events_url":"https://api.github.com/users/hvr/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T09:37:02Z","updated_at":"2015-12-25T09:37:02Z","body":"Btw I actually love that `cabal new-build` rebuilds stuff against the latest versions by default, some stuff I'm working on relies on this very property. Freezing the package db should be something the user explicitly requests (e.g. by writing something like `index-snapshot: 2015-12-24T14:43` into the `cabal.project` file)."}}