diff options
author | Luke Granger-Brown <git@lukegb.com> | 2021-09-05 15:25:02 +0000 |
---|---|---|
committer | Luke Granger-Brown <git@lukegb.com> | 2021-09-05 15:25:02 +0000 |
commit | 010096974f03009d221b533dd5c16c3d8b794ba1 (patch) | |
tree | 950d99f71d787c2a080d882fa60f3842f6199627 /pkgs | |
parent | 4cc9b841182fe88ece2d33a77e6937458a0f9fa9 (diff) |
icewm: fix trailing -I compilation errors
Fixes cc1plus: error: to generate dependencies you must specify either '-M' or '-MM' errors which occur while compiling due to trailing -I for libintl, which appears to be found now but without requiring any include/link flags.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/window-managers/icewm/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/icewm/default.nix b/pkgs/applications/window-managers/icewm/default.nix index 1584b7fed0198..e4efc13262d25 100644 --- a/pkgs/applications/window-managers/icewm/default.nix +++ b/pkgs/applications/window-managers/icewm/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , asciidoc , cmake , expat @@ -48,6 +49,15 @@ stdenv.mkDerivation rec { hash = "sha256-R06tiWS9z6K5Nbi+vvk7DyozpcFdrHleMeh7Iq/FfHQ="; }; + patches = [ + # https://github.com/ice-wm/icewm/pull/57 + # Fix trailing -I that leads to "to generate dependencies you must specify either '-M' or '-MM'" + (fetchpatch { + url = "https://github.com/ice-wm/icewm/pull/57/commits/ebd2c45341cc31755758a423392a0f78a64d2d37.patch"; + sha256 = "16m9znd3ijcfl7la3l27ac3clx8l9qng3fprkpxqcifd89ny1ml5"; + }) + ]; + nativeBuildInputs = [ asciidoc cmake |