We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Steps to reproduce the behavior:
gimpPlugins.bimp
See the Hydra build logs.
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered:
upstream issue: alessandrofrancesconi/gimp-plugin-bimp#411
a couple of ways to fix the build:
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix index bf30838cc12b..aa20f129019e 100644 --- a/pkgs/applications/graphics/gimp/plugins/default.nix +++ b/pkgs/applications/graphics/gimp/plugins/default.nix @@ -115,16 +115,14 @@ lib.makeScope pkgs.newScope ( postPatch = '' substituteInPlace Makefile \ --replace-fail "gcc" "${stdenv.cc.targetPrefix}cc" + + # https://github.com/alessandrofrancesconi/gimp-plugin-bimp/issues/411 + substituteInPlace src/bimp-manipulations-gui.c \ + --replace-fail "save = &" "save = (void (*)(void*))" ''; nativeBuildInputs = with pkgs; [ which ]; - env.NIX_CFLAGS_COMPILE = toString ( - lib.optionals stdenv.cc.isClang [ - "-Wno-error=incompatible-function-pointer-types" - ] - ); - installFlags = [ "SYSTEM_INSTALL_DIR=${placeholder "out"}/${gimp.targetPluginDir}/bimp" ];
or
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix index bf30838cc12b..f1cbac4d0242 100644 --- a/pkgs/applications/graphics/gimp/plugins/default.nix +++ b/pkgs/applications/graphics/gimp/plugins/default.nix @@ -119,11 +119,7 @@ lib.makeScope pkgs.newScope ( nativeBuildInputs = with pkgs; [ which ]; - env.NIX_CFLAGS_COMPILE = toString ( - lib.optionals stdenv.cc.isClang [ - "-Wno-error=incompatible-function-pointer-types" - ] - ); + env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types"; installFlags = [ "SYSTEM_INSTALL_DIR=${placeholder "out"}/${gimp.targetPluginDir}/bimp"
feel free to open a PR
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Steps To Reproduce
Steps to reproduce the behavior:
gimpPlugins.bimp
on unstable.Build log
See the Hydra build logs.
Notify maintainers
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: