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

haskell-modules: split off nix-specific overrides and common ones #22378

Closed
wants to merge 3 commits into from

Conversation

bennofs
Copy link
Contributor

@bennofs bennofs commented Feb 2, 2017

This allows the nix-specific overrides to be reused for other purposes,
with different haskell package sets, etc.

To verify that I didn't mess anything up, I ran the following command both before and after
making the changes:

$ nix-instantiate -A haskellPackages --arg config '{allowBroken = true; allowUnfree = true; }'

This produced the following diff:

2000c2000
< /nix/store/6vgdp0z0x0bv8kl8d2ka98wnyd84f72v-black-jewel-0.0.0.1.drv
---
> /nix/store/31bfq8pwh42jrlrhhxpr3w253n9i67ka-black-jewel-0.0.0.1.drv
3351c3351
< /nix/store/51606q0gdnmhnzm6m3mihn6apvgcg59i-download-0.3.2.5.drv
---
> /nix/store/9cb00p6a2ghljwpng2qi8g2ch6wflvhf-download-0.3.2.5.drv
4180c4180
< /nix/store/i6kvbsv51m1wmcpnaaqswxprrvpxzxbq-ghcjs-hplay-0.3.4.2.drv
---
> /nix/store/jig283apjpphhcin8hs8j363pbfpq22a-ghcjs-hplay-0.3.4.2.drv
4754c4754
< /nix/store/h125bwab6idwsg546jxkwvn7jvmi5yi1-hackage-sparks-0.5.1.drv
---
> /nix/store/awpxsbdhk7bpc529s84xqib628754van-hackage-sparks-0.5.1.drv
4756c4756
< /nix/store/bigrl8c1q8g69gmn3w9bcn3ysd3gim9h-hackage2hwn-0.5.1.drv
---
> /nix/store/88j55rmbws3dlkmbqkyrniab9xk2gj8j-hackage2hwn-0.5.1.drv

The changes are due to the fact that I added download to the list of packages
whose test suite requires networking access. All listed derivations depend on
download. Before merging this, I should split that change into a separate commit.

/cc @peti

@mention-bot
Copy link

@bennofs, thanks for your PR! By analyzing the history of the files in this pull request, we identified @peti, @pikajude and @abbradar to be potential reviewers.

@peti
Copy link
Member

peti commented Feb 2, 2017

This is really nice, great job cleaning up the overrides!

This allows the nix-specific overrides to be reused for other purposes,
with different haskell package sets, etc.
@bennofs
Copy link
Contributor Author

bennofs commented Feb 2, 2017

I've moved the dontCheck download into a different commit now

@peti
Copy link
Member

peti commented Feb 3, 2017

Merged to haskell-updates. Test builds are running at http://hydra.nixos.org/jobset/nixpkgs/haskell-updates.

@bennofs
Copy link
Contributor Author

bennofs commented Feb 3, 2017

Whoops, I think I've messed up the idris override

@bennofs
Copy link
Contributor Author

bennofs commented Feb 3, 2017

@peti idris failure should be fixed now. Seems like I did some changes between running my "check" (that the derivations are equal) and submitting the PR ...

@peti
Copy link
Member

peti commented Feb 5, 2017

I've merged the current version of this PR into 6c290e4b989463d6090e93a14149af3847bc49b8 and 535b91842b6b84a726075254925488d0fe9c988d and re-based it on top of the current master. I hope I made no mistake, but IMHO things look good. I'll let http://hydra.nixos.org/jobset/nixpkgs/haskell-updates one more shot at this, and then I'll merge.

@domenkozar
Copy link
Member

This is now in master.

@domenkozar domenkozar closed this Feb 27, 2017
@bennofs bennofs deleted the haskell-split-overrides branch February 27, 2017 13:24
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

4 participants