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

haskellPackages.HSH build on my Machine #82343

Closed
wants to merge 19 commits into from
Closed

haskellPackages.HSH build on my Machine #82343

wants to merge 19 commits into from

Conversation

Pattag
Copy link

@Pattag Pattag commented Mar 11, 2020

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

peti and others added 19 commits March 7, 2020 02:31
This update was generated by hackage2nix v2.15.0-21-ga388e13 from Hackage revision
commercialhaskell/all-cabal-hashes@84ca5c6.
Current, the `cabal2nix` derivation contains both the executable, and a wrapper
that adds `nix` and `nix-prefetch-scripts`, which are required for some
features.

However, when calling `callCabal2nix` to create a derivation from a cabal file
at evaluation time,
these features are not actually used, but the huge closure of
`nix-prefetch-scripts` (which includes multiple vcs, as well as python and perl)
still needs to be fetched.

This commit splits cabal2nix into a lightweight version that is a standalone
static binary (`cabal2nix-unwrapped`), and a wrapper that includes the proper
dependencies in the path for full usage of the command line
utility (`cabal2nix`).

This commit also switches to the default ghc, to reduce the likelyhood of
building a different ghc when calling `callCabal2nix`.
cabal2nix: split into a lightweight version and a wrapper
Fix zxcvbn-hs & zxcvbn-dvorak
This update was generated by hackage2nix v2.15.0-21-ga388e13 from Hackage revision
commercialhaskell/all-cabal-hashes@4328a38.
The tests fail to compile because of a missing module but would
otherwise be fine.
saltine: fix build by disabling tests
This update was generated by hackage2nix v2.15.0-21-ga388e13 from Hackage revision
commercialhaskell/all-cabal-hashes@84be87e.
Remove snap from broken packages list
This update was generated by hackage2nix v2.15.0-21-ga388e13 from Hackage revision
commercialhaskell/all-cabal-hashes@edb1ff5.
tests need a running mysql instance, so disable them
ats-format: Unbreak by disabling manpage generation
@Pattag Pattag changed the title <!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you aren't a committer, we would appreciate reviews of other PRs, especially simple ones like package updates. Just testing the relevant package/service and leaving a comment saying what you tested, how you tested it and whether it worked would be great. List of open PRs: <https://github.com/NixOS/nixpkgs/pulls>, for more about reviewing contributions: <https://hydra.nixos.org/job/nixpkgs/trunk/manual/latest/download/1/nixpkgs/manual.html#chap-reviewing-contributions>. Reviewing isn't mandatory, but it would help out a lot and reduce the average time-to-merge for all of us. Thanks a lot if you do! --> ###### Motivation for this change haskellPackages.HSH build on my Machine Mar 11, 2020
@Pattag Pattag closed this Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants