You should probably call the attribute `aeson` here and then configure the appropriate version to be passed in `haskell-packages.nix`. This style will cause trouble when I run `haskell4nix` to perform updates. Generally speaking, it is best to avoid hand-editing those files at all.