pkgs/build-support/cabal: updated recognition of Haskell packages for the directory new layout used in the stdenv-updates branch