Skip to content

Commit d151796

Browse files
authored
wcc: 0.0.7-unstable-2025-01-13 -> 0.0.7-unstable-2025-04-30 (#403181)
2 parents 4569ad3 + 9f23f49 commit d151796

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

pkgs/by-name/wc/wcc/package.nix

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
}:
1111

1212
stdenv.mkDerivation {
13-
pname = "wcc-unstable";
14-
version = "0.0.7-unstable-2025-01-13";
13+
pname = "wcc";
14+
version = "0.0.7-unstable-2025-04-30";
1515

1616
src = fetchFromGitHub {
1717
owner = "endrazine";
1818
repo = "wcc";
19-
rev = "fe1f71d7f6c756e196b82a884dc38bb8f8aef4d3";
20-
sha256 = "sha256-Kb9QIL+W0JFdfweqZL05OajXGGqXn6e6Jv3IVCr3BwQ=";
19+
rev = "8cbb49345d9596dfd37bd1b681753aacaab96475";
20+
hash = "sha256-f19EqkXJ97k0gjVBEBLzfNqYZ/J7sCCGBEeFsSax3uU=";
21+
deepClone = true;
2122
fetchSubmodules = true;
2223
};
2324

@@ -34,8 +35,12 @@ stdenv.mkDerivation {
3435
-e "s#/usr/share/wcc#$out/share/wcc#"
3536
3637
sed -i -e '/stropts.h>/d' src/wsh/include/libwitch/wsh.h
38+
39+
sed -i '/wsh-`uname -m`.*-static/d' src/wsh/Makefile
3740
'';
3841

42+
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
43+
3944
installFlags = [ "DESTDIR=$(out)" ];
4045

4146
preInstall = ''
@@ -60,7 +65,13 @@ stdenv.mkDerivation {
6065
homepage = "https://github.com/endrazine/wcc";
6166
description = "Witchcraft compiler collection: tools to convert and script ELF files";
6267
license = licenses.mit;
63-
platforms = [ "x86_64-linux" ];
64-
maintainers = with maintainers; [ orivej ];
68+
platforms = [
69+
"x86_64-linux"
70+
"aarch64-linux"
71+
];
72+
maintainers = with maintainers; [
73+
orivej
74+
DieracDelta
75+
];
6576
};
6677
}

0 commit comments

Comments
 (0)