c64-debugger: fix build

wxt cb5df10d 8d57281b

+14 -5
+14 -5
pkgs/by-name/c6/c64-debugger/package.nix
··· 19 19 src = fetchgit { 20 20 url = "https://git.code.sf.net/p/c64-debugger/code"; 21 21 rev = "f97772e3f5c8b4fa99e8ed212ed1c4cb1e2389f1"; 22 - sha256 = "sha256-3SR73AHQlYSEYpJLtQ/aJ1UITZGq7aA9tQKxBsn/yuc="; 22 + hash = "sha256-3SR73AHQlYSEYpJLtQ/aJ1UITZGq7aA9tQKxBsn/yuc="; 23 23 }; 24 24 25 25 buildInputs = [ ··· 85 85 runHook postInstall 86 86 ''; 87 87 88 - meta = with lib; { 88 + env = { 89 + NIX_CFLAGS_COMPILE = toString [ 90 + "-Wno-error=narrowing" 91 + "-Wno-error=implicit-function-declaration" 92 + "-Wno-error=int-conversion" 93 + "-Wno-error=incompatible-pointer-types" 94 + ]; 95 + }; 96 + 97 + meta = { 89 98 homepage = "https://sourceforge.net/projects/c64-debugger"; 90 99 description = "Commodore 64, Atari XL/XE and NES code and memory debugger that works in real time"; 91 - license = with licenses; [ 100 + license = with lib.licenses; [ 92 101 gpl3Only # c64-debugger 93 102 mit # MTEngine 94 103 # emulators included in c64-debugger ··· 96 105 gpl2 # nestopiaue 97 106 ]; 98 107 mainProgram = "c64debugger"; 99 - maintainers = [ maintainers.detegr ]; 100 - platforms = platforms.linux; 108 + maintainers = [ lib.maintainers.detegr ]; 109 + platforms = lib.platforms.linux; 101 110 }; 102 111 }