diff options
author | Stanisław Pitucha <git@viraptor.info> | 2024-04-15 12:09:43 +1000 |
---|---|---|
committer | Stanisław Pitucha <git@viraptor.info> | 2024-04-15 12:46:51 +1000 |
commit | e29225d89b099a61bd961b292bc62947c14642c6 (patch) | |
tree | a8500894d1d785250b4e8c744f768a77269428fe | |
parent | 1f54fa2ddf2623784a2b4431b35a1b5ce91a14bf (diff) |
stag: fix compiling with clang
-rw-r--r-- | pkgs/applications/misc/stag/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/misc/stag/default.nix b/pkgs/applications/misc/stag/default.nix index 049cee5a830de..711d549d1ac35 100644 --- a/pkgs/applications/misc/stag/default.nix +++ b/pkgs/applications/misc/stag/default.nix @@ -17,6 +17,11 @@ stdenv.mkDerivation (finalAttrs: { url = "https://github.com/seenaburns/stag/commit/0a5a8533d0027b2ee38d109adb0cb7d65d171497.diff"; hash = "sha256-fqcsStduL3qfsp5wLJ0GLfEz0JRnOqsvpXB4gdWwVzg="; }) + # fix compilation on darwin, add explicit void parameter https://github.com/seenaburns/stag/pull/22 + (fetchpatch { + url = "https://github.com/seenaburns/stag/commit/bf831b0fa47fdc3654a659c1bc12b584c5bad18c.patch"; + hash = "sha256-C7S+phw2K26EUweKLDVZey/bUeYcTohdGcf7wixYIdM="; + }) ]; buildInputs = [ curses ]; |