anchor.diff:    # No building is necessary, but calling make without flags ironically
     # calls install-strip ...
     dontBuild = true;
  +
  +  # Apparently necessary for the ghc Alpine (musl) bindist:
  +  # When we strip, and then run the
  +  #     patchelf --set-rpath "${libPath}:$(patchelf --print-rpath $p)" $p
  +  # below, running ghc (e.g. during `installCheckPhase)` gives some apparently
  +  # corrupted rpath or whatever makes the loader work on nonsensical strings:
  +  #     running install tests
  +  #     Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: : symbol not found
  +  #     Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: ir6zf6c9f86pfx8sr30n2vjy-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/../lib/x86_64-linux-ghc-8.10.5/libHSexceptions-0.10.4-ghc8.10.5.so: symbol not found
  +  #     Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: y/lib/ghc-8.10.5/bin/../lib/x86_64-linux-ghc-8.10.5/libHStemplate-haskell-2.16.0.0-ghc8.10.5.so: symbol not found
  +  #     Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: 8.10.5/libHStemplate-haskell-2.16.0.0-ghc8.10.5.so: symbol not found
  +  #     Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: �: symbol not found
  +  #     Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: �?: symbol not found
  +  #     Error relocating /nix/store/...-ghc-8.10.2-binary/lib/ghc-8.10.5/bin/ghc: 64-linux-ghc-8.10.5/libHSexceptions-0.10.4-ghc8.10.5.so: symbol not found
  +  # This is extremely bogus and should be investigated.
  +  dontStrip = if stdenv.hostPlatform.isMusl then true else false; # `if` for explicitness
   
     # On Linux, use patchelf to modify the executables so that they can
     # find editline/gmp.
  
positive.code: 
    configurePlatforms = [ ];
    configureFlags = [
      "--with-gmp-libraries=${lib.getLib gmp}/lib"
      "--with-gmp-includes=${lib.getDev gmp}/include"
    ] ++ lib.optional stdenv.isDarwin "--with-gcc=${./gcc-clang-wrapper.sh}"
  
negative.code:       patchShebangs ghc-${version}/configure
      '' +
      # We have to patch the GMP paths for the integer-gmp package.
      # Note [musl bindists have no .buildinfo]
      # Note that musl bindists do not contain them; unclear if that's intended;
      # see: https://gitlab.haskell.org/ghc/ghc/-/issues/20073#note_363231
      ''
        find . -name integer-gmp.buildinfo \
            -exec sed -i "s@extra-lib-dirs: @extra-lib-dirs: ${gmp.out}/lib@" {} \;
  