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
purple-matrix: set c compiler to cc, fixes build on osx #91978
Conversation
pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-matrix/default.nix
Outdated
Show resolved
Hide resolved
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.
Note that https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md requires that you merge your two commits into one. But semantically, I approve.
Signed-off-by: Frederick F. Kautz IV <fkautz@alumni.cmu.edu>
d000978
to
083772d
Compare
@symphorien I made the change you requested, should be a simple one to review. :) |
/marvin opt-in |
hum the bot seems dead, @timokau |
@GrahamcOfBorg build purple-matrix |
@symphorien not dead, see timokau/marvin-mk2#68. Also struggling to find available reviewers, hence not assigning anybody recently. |
@@ -4,6 +4,8 @@ stdenv.mkDerivation rec { | |||
pname = "purple-matrix-unstable"; | |||
version = "2019-06-06"; | |||
|
|||
buildFlags = [ "CC=cc" ]; |
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 add a comment explaining why this is necessary. People looking at this in the future may not know that this fixes the darwin build, and therefore just remove it (since the linux build works without that line). Or worse, they may never remove it even when it is not necessary anymore because they do not know what it does.
Also it looks like this is something that should get fixed upstream. It would be nice to create an upstream issue/PR and link that in the comment.
(sorry mis-manipulation) |
I fixed details myself in fc84898. Default platforms don't include darwin, so now we should be also getting binaries. |
Signed-off-by: Frederick F. Kautz IV fkautz@alumni.cmu.edu
Motivation for this change
Fixing pidgin uncovered a build time issue in purple-matrix when building on OSX.
Things done
Set the c compiler to the portable name: "cc"
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)