Merge pull request #56872 from dotlambda/bpython-desktop-file

python.pkgs.bpython: correct Exec in bpython.desktop
This commit is contained in:
Florian Klink 2019-03-05 19:17:02 +01:00 committed by GitHub
commit 1aa0980e1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,11 @@ buildPythonPackage rec {
propagatedBuildInputs = [ curtsies greenlet pygments requests urwid ];
postInstall = ''
substituteInPlace "$out/share/applications/bpython.desktop" \
--replace "Exec=/usr/bin/bpython" "Exec=$out/bin/bpython"
'';
checkInputs = [ mock ];
# tests fail: https://github.com/bpython/bpython/issues/712