gede: replace build.patch with inline sed call
The patch file is much larger than the logical change made.
This commit is contained in:
parent
b1ae313111
commit
6e36e7f209
@ -1,11 +0,0 @@
|
|||||||
--- a/build.py 2017-01-16 21:12:43.000000000 +0100
|
|
||||||
+++ b/build.py 2017-02-26 22:03:11.394625315 +0100
|
|
||||||
@@ -71,7 +71,7 @@
|
|
||||||
if do_build:
|
|
||||||
if not os.path.exists("Makefile"):
|
|
||||||
print("Generating makefile")
|
|
||||||
- if subprocess.call(['qmake-qt4']):
|
|
||||||
+ if subprocess.call(['qmake']):
|
|
||||||
exit(1)
|
|
||||||
|
|
||||||
print("Compiling (please wait)")
|
|
@ -10,7 +10,10 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ctags qt4 python ];
|
buildInputs = [ ctags qt4 python ];
|
||||||
patches = [ ./build.patch ];
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i build.py -e 's,qmake-qt4,qmake,'
|
||||||
|
'';
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
tar xf ${src}
|
tar xf ${src}
|
||||||
|
Loading…
Reference in New Issue
Block a user