diff --git a/pkgs/by-name/wc/wcc/package.nix b/pkgs/by-name/wc/wcc/package.nix index 72c61d940942..b15cf8185319 100644 --- a/pkgs/by-name/wc/wcc/package.nix +++ b/pkgs/by-name/wc/wcc/package.nix @@ -10,14 +10,15 @@ }: stdenv.mkDerivation { - pname = "wcc-unstable"; - version = "0.0.7-unstable-2025-01-13"; + pname = "wcc"; + version = "0.0.7-unstable-2025-04-30"; src = fetchFromGitHub { owner = "endrazine"; repo = "wcc"; - rev = "fe1f71d7f6c756e196b82a884dc38bb8f8aef4d3"; - sha256 = "sha256-Kb9QIL+W0JFdfweqZL05OajXGGqXn6e6Jv3IVCr3BwQ="; + rev = "8cbb49345d9596dfd37bd1b681753aacaab96475"; + hash = "sha256-f19EqkXJ97k0gjVBEBLzfNqYZ/J7sCCGBEeFsSax3uU="; + deepClone = true; fetchSubmodules = true; }; @@ -34,8 +35,12 @@ stdenv.mkDerivation { -e "s#/usr/share/wcc#$out/share/wcc#" sed -i -e '/stropts.h>/d' src/wsh/include/libwitch/wsh.h + + sed -i '/wsh-`uname -m`.*-static/d' src/wsh/Makefile ''; + env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration"; + installFlags = [ "DESTDIR=$(out)" ]; preInstall = '' @@ -60,7 +65,13 @@ stdenv.mkDerivation { homepage = "https://github.com/endrazine/wcc"; description = "Witchcraft compiler collection: tools to convert and script ELF files"; license = licenses.mit; - platforms = [ "x86_64-linux" ]; - maintainers = with maintainers; [ orivej ]; + platforms = [ + "x86_64-linux" + "aarch64-linux" + ]; + maintainers = with maintainers; [ + orivej + DieracDelta + ]; }; }