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
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
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
19
stdenv.mkDerivation rec {
20
pname = "wmii";
21
-
version = "unstable-2022-04-04";
22
23
src = fetchFromGitHub {
24
owner = "0intro";
25
repo = "wmii";
26
-
rev = "ff120c7fee6e1b3a30a4a800074394327fb1da9d";
27
-
hash = "sha256-KEmWnobpT/5TdgT2HGPCpG1duz9Q6Z6PFSEBs2Ce+7g=";
28
};
29
30
# for dlopen-ing
···
45
EOF
46
'';
47
48
-
# Remove optional python2 functionality
49
-
postInstall = ''
50
-
rm -rf $out/lib/python* $out/etc/wmii-hg/python
51
-
'';
0
52
53
nativeBuildInputs = [
54
pkg-config
···
18
19
stdenv.mkDerivation rec {
20
pname = "wmii";
21
+
version = "0-unstable-2023-09-30";
22
23
src = fetchFromGitHub {
24
owner = "0intro";
25
repo = "wmii";
26
+
rev = "26848c93457606b350f57d6d313112a745a0cf3d";
27
+
hash = "sha256-5l2aYAoThbA0Aq8M2vPTzaocQO1AvrnWqgXhmBLADVk=";
28
};
29
30
# for dlopen-ing
···
45
EOF
46
'';
47
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
+
];
53
54
nativeBuildInputs = [
55
pkg-config