mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
wmii: fix build by disabling python building
(cherry picked from commit 1d9a56234f
)
This commit is contained in:
parent
b5b65f013a
commit
eda08ed89e
14
pkgs/by-name/wm/wmii/001-disable-python2-build.patch
Normal file
14
pkgs/by-name/wm/wmii/001-disable-python2-build.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff --git a/alternative_wmiircs/Makefile b/alternative_wmiircs/Makefile
|
||||||
|
index 3b9c3709..3ce46169 100644
|
||||||
|
--- a/alternative_wmiircs/Makefile
|
||||||
|
+++ b/alternative_wmiircs/Makefile
|
||||||
|
@@ -3,8 +3,7 @@ include $(ROOT)/mk/hdr.mk
|
||||||
|
include $(ROOT)/mk/wmii.mk
|
||||||
|
|
||||||
|
BIN = $(GLOBALCONF)
|
||||||
|
-DIRS = python \
|
||||||
|
- plan9port \
|
||||||
|
+DIRS = plan9port \
|
||||||
|
ruby
|
||||||
|
|
||||||
|
DOCS = README
|
@ -18,13 +18,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wmii";
|
pname = "wmii";
|
||||||
version = "unstable-2022-04-04";
|
version = "0-unstable-2023-09-30";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "0intro";
|
owner = "0intro";
|
||||||
repo = "wmii";
|
repo = "wmii";
|
||||||
rev = "ff120c7fee6e1b3a30a4a800074394327fb1da9d";
|
rev = "26848c93457606b350f57d6d313112a745a0cf3d";
|
||||||
hash = "sha256-KEmWnobpT/5TdgT2HGPCpG1duz9Q6Z6PFSEBs2Ce+7g=";
|
hash = "sha256-5l2aYAoThbA0Aq8M2vPTzaocQO1AvrnWqgXhmBLADVk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# for dlopen-ing
|
# for dlopen-ing
|
||||||
@ -45,10 +45,11 @@ stdenv.mkDerivation rec {
|
|||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Remove optional python2 functionality
|
patches = [
|
||||||
postInstall = ''
|
# the python alternative wmiirc was not building due to errors with pyxp
|
||||||
rm -rf $out/lib/python* $out/etc/wmii-hg/python
|
# this patch disables building it altogether
|
||||||
'';
|
./001-disable-python2-build.patch
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
|
Loading…
Reference in New Issue
Block a user