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: fix barbly #70222

Merged
merged 3 commits into from Oct 8, 2019
Merged

haskellPackages: fix barbly #70222

merged 3 commits into from Oct 8, 2019

Conversation

luke-clifton
Copy link
Contributor

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nix-review --run "nix-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.
Notify maintainers

cc @

@luke-clifton
Copy link
Contributor Author

Not sure how to test this locally (I need to regenerate everything?).

@luke-clifton
Copy link
Contributor Author

This is how I did test it, simple overlay and manually applying what I think the result of this PR will do.

self: super:
{
    barbly = self.haskell.lib.addBuildDepend (self.haskellPackages.callHackage "barbly" "0.1.0.0" {}) self.darwin.apple_sdk.frameworks.AppKit;
}

@cdepillabout
Copy link
Member

I've confirmed that barbly builds correctly on MacOSX with this change.

@luke-clifton Thanks!

@cdepillabout
Copy link
Member

cdepillabout commented Oct 2, 2019

@luke-clifton Sorry if you already know this, but in order to test this locally you can just build with allowBroken:

$ nix-build /some/path/to/nixpkgs/with/this/PR/checked/out/ -A haskellPackages.barbly --arg config '{allowBroken=true;}'
...
/nix/store/wbxvpgkzmqqcavy96cvmh673b0pag2yf-barbly-0.1.0.0

@peti peti force-pushed the haskell-updates branch 2 times, most recently from 6501e2b to 83ba157 Compare October 6, 2019 09:16
Co-Authored-By: Dennis Gosnell <cdep.illabout@gmail.com>
@luke-clifton
Copy link
Contributor Author

Thanks @cdepillabout for pointing out that copy-paste error.

@cdepillabout
Copy link
Member

@peti I've tested that this PR works on MacOSX. This PR should be ready to be merged.

@peti peti force-pushed the haskell-updates branch 2 times, most recently from 5d075ab to 56e1ea3 Compare October 7, 2019 18:51
@luke-clifton luke-clifton requested a review from peti October 7, 2019 23:44
@peti peti merged commit be8f006 into NixOS:haskell-updates Oct 8, 2019
peti pushed a commit that referenced this pull request Oct 10, 2019
* haskellPackages: fix barbly

Co-Authored-By: Dennis Gosnell <cdep.illabout@gmail.com>
peti pushed a commit that referenced this pull request Oct 13, 2019
* haskellPackages: fix barbly

Co-Authored-By: Dennis Gosnell <cdep.illabout@gmail.com>
peti pushed a commit that referenced this pull request Oct 13, 2019
* haskellPackages: fix barbly

Co-Authored-By: Dennis Gosnell <cdep.illabout@gmail.com>
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

3 participants