wmii: fix build by disabling python building

+22 -7
+14
pkgs/by-name/wm/wmii/001-disable-python2-build.patch
··· 1 + diff --git a/alternative_wmiircs/Makefile b/alternative_wmiircs/Makefile 2 + index 3b9c3709..3ce46169 100644 3 + --- a/alternative_wmiircs/Makefile 4 + +++ b/alternative_wmiircs/Makefile 5 + @@ -3,8 +3,7 @@ include $(ROOT)/mk/hdr.mk 6 + include $(ROOT)/mk/wmii.mk 7 + 8 + BIN = $(GLOBALCONF) 9 + -DIRS = python \ 10 + - plan9port \ 11 + +DIRS = plan9port \ 12 + ruby 13 + 14 + DOCS = README
+8 -7
pkgs/by-name/wm/wmii/package.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "wmii"; 21 - version = "unstable-2022-04-04"; 21 + version = "0-unstable-2023-09-30"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "0intro"; 25 25 repo = "wmii"; 26 - rev = "ff120c7fee6e1b3a30a4a800074394327fb1da9d"; 27 - hash = "sha256-KEmWnobpT/5TdgT2HGPCpG1duz9Q6Z6PFSEBs2Ce+7g="; 26 + rev = "26848c93457606b350f57d6d313112a745a0cf3d"; 27 + hash = "sha256-5l2aYAoThbA0Aq8M2vPTzaocQO1AvrnWqgXhmBLADVk="; 28 28 }; 29 29 30 30 # for dlopen-ing ··· 45 45 EOF 46 46 ''; 47 47 48 - # Remove optional python2 functionality 49 - postInstall = '' 50 - rm -rf $out/lib/python* $out/etc/wmii-hg/python 51 - ''; 48 + patches = [ 49 + # the python alternative wmiirc was not building due to errors with pyxp 50 + # this patch disables building it altogether 51 + ./001-disable-python2-build.patch 52 + ]; 52 53 53 54 nativeBuildInputs = [ 54 55 pkg-config