Loading pkgs/by-name/xp/xpwn/package.nix +13 −7 Original line number Diff line number Diff line Loading @@ -12,19 +12,25 @@ stdenv.mkDerivation { pname = "xpwn"; version = "0.5.8git"; version = "0.5.8-unstable-2024-04-01"; src = fetchFromGitHub { owner = "planetbeing"; repo = "xpwn"; rev = "ac362d4ffe4d0489a26144a1483ebf3b431da899"; sha256 = "1qw9vbk463fpnvvvfgzxmn9add2p30k832s09mlycr7z1hrh3wyf"; rev = "20c32e5c12d1b22a9d55a59a0ff6267f539b77f4"; hash = "sha256-wOSIaeNjZOKoeL4padP6UWY1O75qqHuFuSMrdCOLI2s="; }; env.NIX_CFLAGS_COMPILE = toString [ # Workaround build failure on -fno-common toolchains: # ld: ../ipsw-patch/libxpwn.a(libxpwn.c.o):(.bss+0x4): multiple definition of # `endianness'; CMakeFiles/xpwn-bin.dir/src/xpwn.cpp.o:(.bss+0x0): first defined here env.NIX_CFLAGS_COMPILE = "-fcommon"; "-fcommon" # Fix build on GCC 14 "-Wno-implicit-int" "-Wno-incompatible-pointer-types" ]; preConfigure = '' rm BUILD # otherwise `mkdir build` fails on case insensitive file systems Loading Loading
pkgs/by-name/xp/xpwn/package.nix +13 −7 Original line number Diff line number Diff line Loading @@ -12,19 +12,25 @@ stdenv.mkDerivation { pname = "xpwn"; version = "0.5.8git"; version = "0.5.8-unstable-2024-04-01"; src = fetchFromGitHub { owner = "planetbeing"; repo = "xpwn"; rev = "ac362d4ffe4d0489a26144a1483ebf3b431da899"; sha256 = "1qw9vbk463fpnvvvfgzxmn9add2p30k832s09mlycr7z1hrh3wyf"; rev = "20c32e5c12d1b22a9d55a59a0ff6267f539b77f4"; hash = "sha256-wOSIaeNjZOKoeL4padP6UWY1O75qqHuFuSMrdCOLI2s="; }; env.NIX_CFLAGS_COMPILE = toString [ # Workaround build failure on -fno-common toolchains: # ld: ../ipsw-patch/libxpwn.a(libxpwn.c.o):(.bss+0x4): multiple definition of # `endianness'; CMakeFiles/xpwn-bin.dir/src/xpwn.cpp.o:(.bss+0x0): first defined here env.NIX_CFLAGS_COMPILE = "-fcommon"; "-fcommon" # Fix build on GCC 14 "-Wno-implicit-int" "-Wno-incompatible-pointer-types" ]; preConfigure = '' rm BUILD # otherwise `mkdir build` fails on case insensitive file systems Loading