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:
Florian Klink 2019-10-31 16:38:19 +01:00 committed by Jon
parent 62fbcea807
commit e3907717cc

View file

@ -12,7 +12,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ curtsies greenlet pygments requests urwid ];
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"
'';