bpython: fix build
aeb63f40dd
bumped bpython to 0.18, but it
failed to build afterwards, due to the .desktop file being renamed.
This commit is contained in:
parent
62fbcea807
commit
e3907717cc
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [ curtsies greenlet pygments requests urwid ];
|
propagatedBuildInputs = [ curtsies greenlet pygments requests urwid ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
substituteInPlace "$out/share/applications/bpython.desktop" \
|
substituteInPlace "$out/share/applications/org.bpython-interpreter.bpython.desktop" \
|
||||||
--replace "Exec=/usr/bin/bpython" "Exec=$out/bin/bpython"
|
--replace "Exec=/usr/bin/bpython" "Exec=$out/bin/bpython"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user