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