Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove HaskellPrebuiltPackageInfo #442

Merged
merged 34 commits into from
Nov 16, 2018
Merged

Remove HaskellPrebuiltPackageInfo #442

merged 34 commits into from
Nov 16, 2018

Commits on Nov 14, 2018

  1. nix: Give direct access to the GHC packages

    `nix-build tests/ghc.nix -A myPackage` gives access to the package in
    question, built for the right GHC
    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    2052b69 View commit details
    Browse the repository at this point in the history
  2. Add first version of the new haskell_import

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    b00ab8d View commit details
    Browse the repository at this point in the history
  3. Add test for haskell_import_new

    With hand-written bazel rules
    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    e9a2eac View commit details
    Browse the repository at this point in the history
  4. Add addhock support

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    14d2c36 View commit details
    Browse the repository at this point in the history
  5. Generate haskell_import statements from nix packages

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    a406c30 View commit details
    Browse the repository at this point in the history
  6. Generate haskell_import from the whole haskellPackages

    Add two new `gen_package_list` and `haskell_nix_imports` repository
    rules which allows generating `haskell_import` statements for a whole
    `haskellPackages` set
    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    9566811 View commit details
    Browse the repository at this point in the history
  7. Rewrite the tests to use the new haskell_import rule

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    4c1bc77 View commit details
    Browse the repository at this point in the history
  8. Fix the CI run

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    85e26d2 View commit details
    Browse the repository at this point in the history
  9. Fix netlify deployment

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    11a4c0e View commit details
    Browse the repository at this point in the history
  10. Add nix_import* rules to the documentation

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    f7fe774 View commit details
    Browse the repository at this point in the history
  11. Documentation typo

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    2cef8d1 View commit details
    Browse the repository at this point in the history
  12. Fix dependency circle with Cabal "internal libraries"

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    2ede9d6 View commit details
    Browse the repository at this point in the history
  13. Export all the package confs for multi-library packages

    Otherwise the build fails because ghc-pkg can't find all the required db
    files.
    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    7014361 View commit details
    Browse the repository at this point in the history
  14. Explain why we may already have an HaddockInfo in the haddock context

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    e66a95a View commit details
    Browse the repository at this point in the history
  15. Move path-related functions to path_utils.bzl

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    627ac0e View commit details
    Browse the repository at this point in the history
  16. Typo

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    17c19e0 View commit details
    Browse the repository at this point in the history
  17. Quote bash strings in a slightly more robust way

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    146bfd1 View commit details
    Browse the repository at this point in the history
  18. Rename and document gen_packages_list

    Renamed to `haskell_nixpkgs_pakages_list`
    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    94d781e View commit details
    Browse the repository at this point in the history
  19. Remove dead code

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    4177d80 View commit details
    Browse the repository at this point in the history
  20. Add a link to rules_nixpkgs

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    f6ae403 View commit details
    Browse the repository at this point in the history
  21. Buildify the world

    To make the CI happier
    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    521f8be View commit details
    Browse the repository at this point in the history
  22. Make <bazel_haskell_wrapper> optional in ghc.nix

    We can now use it without the entry being set in `NIX_PATH` (in which
    case the wrapper will be replaced by the identity function).
    This allows reuising it more easily outside of bazel
    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    7dbbc1d View commit details
    Browse the repository at this point in the history
  23. haskell_import: Only add haddock htmls there is an haddock file

    Otherwise it makes no sense to have them
    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    5bc69c4 View commit details
    Browse the repository at this point in the history
  24. fixup! Add test for haskell_import_new

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    2b91c29 View commit details
    Browse the repository at this point in the history
  25. netlify: Update comment on dummy nix-build

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    79267dc View commit details
    Browse the repository at this point in the history
  26. Remove *args forwarding in nix.bzl

    Using non-labeled arguments in this context would be awfully fragile and
    hard to understand, so we'd better forbid them altogether
    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    835471c View commit details
    Browse the repository at this point in the history
  27. Remove spurious arguments in new haskell_import

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    d640b4f View commit details
    Browse the repository at this point in the history
  28. Rework the user API

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    20a70a5 View commit details
    Browse the repository at this point in the history
  29. Buildify

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    41f4bf3 View commit details
    Browse the repository at this point in the history
  30. ci: Limit the number of bazel threads in analysis

    By default (until release 0.19), bazel starts as much as 200 threads in
    his analysis phase, which means until 200 nix-build calls with
    rules_nixpkgs.
    This causes a lot of issues, in particular frequent OOMs on the CI and
    Nix complaining because it can only build a limited number of
    derivations at the same time.
    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    02872ac View commit details
    Browse the repository at this point in the history
  31. fixup! ci: Limit the number of bazel threads in analysis

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    6545552 View commit details
    Browse the repository at this point in the history
  32. fixup! Rewrite the tests to use the new haskell_import rule

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    180ff47 View commit details
    Browse the repository at this point in the history
  33. Fix the haddock for external dependencies

    The way bazel handles providers for aspects apparently changed, and there
    is no need to forward a provider in the aspect if the base rule already
    defines it
    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    18b59c3 View commit details
    Browse the repository at this point in the history
  34. fixup! fixup! Rewrite the tests to use the new haskell_import rule

    Théophane Hufschmitt committed Nov 14, 2018
    Configuration menu
    Copy the full SHA
    a3a15fc View commit details
    Browse the repository at this point in the history