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

mariadb: fix darwin build #33517

Merged
merged 1 commit into from Jan 6, 2018
Merged

mariadb: fix darwin build #33517

merged 1 commit into from Jan 6, 2018

Conversation

LnL7
Copy link
Member

@LnL7 LnL7 commented Jan 6, 2018

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@LnL7 LnL7 added the 6.topic: darwin Running or building packages on Darwin label Jan 6, 2018
@@ -121,7 +122,8 @@ everything = stdenv.mkDerivation (common // {
buildInputs = common.buildInputs ++ [
xz lzo lz4 bzip2 snappy
libxml2 boost judy libevent cracklib
] ++ optionals (stdenv.isLinux && !stdenv.isArm) [ numactl ];
] ++ optional (stdenv.isLinux && !stdenv.isArm) numactl
++ optional stdenv.isDarwin libiconv;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

libiconv probably belongs to common, not just everything.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That also worked, just did the minimal stuff to get it working.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was not sufficient because mariadb.client was left broken. I have fixed it in 306eefa .

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I didn't to check the client.

@globin globin merged commit 106d87b into NixOS:master Jan 6, 2018
@LnL7 LnL7 deleted the darwin-mariadb branch January 6, 2018 15:37
orivej added a commit that referenced this pull request Jan 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants