nixpkgs-suyu/pkgs/development/haskell-modules
John Ericson ba52ae5048 treewide: isArm -> isAarch32
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.

The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:

```
ISA:             ARMv8   {-A, -R, -M}
                 /    \
Mode:     Aarch32     Aarch64
             |         /   \
Encoding:   A64      A32   T32
```

At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.

The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.

[1]: https://developer.arm.com/products/architecture/a-profile
2018-04-25 15:28:55 -04:00
..
patches haskellPackages.lzma: fix outdated patch 2018-04-11 22:12:14 +02:00
configuration-common.nix treewide: isArm -> isAarch32 2018-04-25 15:28:55 -04:00
configuration-ghc-7.10.x.nix Fix GHCJS 7.10 2018-04-01 23:25:37 -04:00
configuration-ghc-8.0.x.nix GHCJS: Fix GHCJS with haddock-library-1.4.3 2018-04-02 00:23:32 -04:00
configuration-ghc-8.2.x.nix cabal-install: fix build of the latest version 2018-03-29 20:46:32 +02:00
configuration-ghc-8.4.x.nix haskell-brick: update override for ghc 8.4.x 2018-04-25 11:43:57 +02:00
configuration-ghc-head.nix haskell package set configuration clean-up 2018-01-09 20:32:55 +01:00
configuration-ghcjs.nix Fix GHCJS 7.10 2018-04-01 23:25:37 -04:00
configuration-hackage2nix.yaml LTS Haskell 11.6 2018-04-25 11:28:16 +02:00
configuration-halvm-2.4.0.nix haskell infra: Misc cleanups 2017-08-03 13:12:01 +02:00
configuration-nix.nix taffybar: fix build 2018-04-12 09:06:33 +02:00
default.nix haskellPackages: Fix overriding all-cabal-hashes 2018-03-25 20:39:38 -04:00
generic-builder.nix treewide: isArm -> isAarch32 2018-04-25 15:28:55 -04:00
generic-stack-builder.nix Fix buildStackProject in nix-build 2017-11-01 16:01:39 +01:00
hackage-packages.nix hackage-packages.nix: automatic Haskell package set update 2018-04-25 11:43:49 +02:00
hoogle-local-wrapper.sh
hoogle.nix ghcWithHoogle: deal gracefully with packages that have no haddockDir attribute 2017-08-19 17:20:39 +02:00
initial-packages.nix Remove HIE package set until automation can be put in place. 2018-03-23 10:06:58 -04:00
lib.nix haskell.lib: Add {en,dis}ableExecutableProfiling transformer 2018-03-29 13:33:48 -04:00
make-package-set.nix callHackage: Keep deriver, like callCabal2nix 2018-03-25 03:12:28 -04:00
with-packages-wrapper.nix haskellPackages.ghcWithPackages: Wrap haddock with GHC lib dir 2018-03-15 20:16:54 +01:00