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
hugs: fix build on darwin #100216
hugs: fix build on darwin #100216
Conversation
@symphorien changing
|
I have no idea why that would cause it, sorry. |
@joachifm (package maintainer), any suggestions? |
@jtojnar could you help take a look as well? |
gccStdenv would be used in place of regular stdenv, not in buildInputs.
But what is the issue with Clang exactly?
…On Ne, říj 11, 2020 at 11:57, Ben Siraphob ***@***.***> wrote:
@jtojnar could you help take a look as well?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@jtojnar here is the issue when I use clang to build
|
url = "https://aur.archlinux.org/cgit/aur.git/plain/hsbase_inline.patch?h=hugs"; | ||
name = "hsbase_inline.patch"; | ||
sha256 = "1h0sp16d17hlm6gj7zdbgwrjwi2l4q02m8p0wd60dp4gn9i9js0v"; | ||
}) ] ++ lib.optionals stdenv.isDarwin [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please always apply all patches.
}) | ||
]; | ||
|
||
buildInputs = [ gcc ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nativeBuildInputs.
This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 1 package built:
|
I'll apply those changes. |
I marked this as stale due to inactivity. → More info |
Closing due to inactivity from author. |
Motivation for this change
Fix build on darwin. Had to pick some commits from a repository that was working on the same issue.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)